Conversation
| If the request body is chunked-encoded, the data will be decoded and emitted on the data event. | ||
| The `Transfer-Encoding` header will be removed. | ||
|
|
||
| Any other `Transfer-Encoding` than `chunked` will result in an error message. |
|
|
||
| if (strtolower($request->getHeaderLine('Transfer-Encoding')) !== 'chunked') { | ||
| $this->emit('error', array(new \InvalidArgumentException('Only chunked-encoding is allowed for Transfer-Encoding'))); | ||
| return $this->writeError($conn, 400); |
clue approved these changes Mar 6, 2017
jsor approved these changes Mar 6, 2017
clue
mentioned this pull request
Merged