WyriHaximus · GitHub

@WyriHaximus

@WyriHaximus

Closed

clue

public function testToLargeBody()
{
$size = $this->iniMaxPostSize() + 1;
$stream = new BufferStream($size);

if ($size === null) {
return new Response(411, array('Content-Type' => 'text/plain'), 'No Content-Length header given');
}
{
private $sizeLimit;

public function __construct($sizeLimit = null)
use React\Stream\ReadableStreamInterface;
use RingCentral\Psr7\BufferStream;

final class Buffer

clue

{
private $sizeLimit;

public function __construct($sizeLimit = null)
public function testToLargeBody()
{
$size = $this->iniMaxPostSize() + 1;
$stream = new BufferStream($size);

if ($size === null) {
return new Response(411, array('Content-Type' => 'text/plain'), 'No Content-Length header given');
}

Closed

jsor

}

return $size;
throw new \UnexpectedValueException('post_max_size value is out of range.');

@jsor jsor changed the title Buffer Middleware RequestBodyBuffer Middleware

Sep 10, 2017

jsor

jsor approved these changes Sep 10, 2017

Closed

@clue

@clue

@clue

@clue

clue

clue approved these changes Sep 11, 2017

@clue clue changed the title RequestBodyBuffer Middleware Support buffering request body (RequestBodyBufferMiddleware)

Sep 11, 2017

WyriHaximus

@WyriHaximus

Closed

This was referenced

Sep 12, 2017

Merged

Closed

Closed

This was referenced

Sep 19, 2017

Closed

Merged

@clue clue mentioned this pull request

Nov 17, 2017

Closed

Read the original on github.com ↗