clue · GitHub

Merged

Merged

Conversation

kelunik

$http->on('request', function (Request $request, Response $response) {
if ($request->expectsContinue()) {
$response->writeContinue();
}

kelunik

array('X-Powered-By' => 'React/alpha'),
$headers
);
}

@clue clue mentioned this pull request

Feb 10, 2017

Closed

kelunik

public function expectsContinue()
{
return isset($this->headers['Expect']) && '100-continue' === $this->headers['Expect'];
return '100-continue' === $this->getHeaderLine('Expect');

@clue clue changed the title Fix headers to be handled case insensitive and add documentation for writeHead() and writeContinue() Fix headers to be handled case insensitive and ignore 100-continue for HTTP/1.0

Feb 11, 2017

jsor

jsor approved these changes Feb 11, 2017

WyriHaximus

@WyriHaximus

@clue

clue deleted the fix-headers branch

February 11, 2017 14:26

This was referenced

Feb 11, 2017

Merged

Closed

@clue clue mentioned this pull request

Jun 27, 2017

Merged

Read the original on github.com ↗