Chromium Code Reviews
DescriptionChange the message body handling in the HTTP parser
The message content detection and handling should now be more
correct and according to the specification (RFC 2616 section 4.3).
* Requests with no Content-Length and no Transfer-Encoding have no message body
* Responses with status code 1xx, 204 and 304 have no message body
* Responses which are responses to HEAD requests have no message body
Also added support for detecting chunk-extensions and ignoring these.
R=ajohnsen@google.com
BUG=
TEST=
Committed: https://code.google.com/p/dart/source/detail?r=5722
Patch Set 1 #
Total comments: 4
Patch Set 2 : Addressed review comments #
Messages
Total messages: 3 (0 generated)
|
|||||||||||||||||||||||||||||||||||||