diff options
Diffstat (limited to 'net/http/http_chunked_decoder.cc')
-rw-r--r-- | net/http/http_chunked_decoder.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/http/http_chunked_decoder.cc b/net/http/http_chunked_decoder.cc index 1ecb9f4..14d1631 100644 --- a/net/http/http_chunked_decoder.cc +++ b/net/http/http_chunked_decoder.cc @@ -154,7 +154,8 @@ int HttpChunkedDecoder::ScanForChunkRemaining(const char* buf, int buf_len) { // While the HTTP 1.1 specification defines chunk-size as 1*HEX // some sites rely on more lenient parsing. -// http://www.yahoo.com/ for example, includes trailing spaces (0x20). +// http://www.yahoo.com/, for example, pads chunk-size with trailing spaces +// (0x20) to be 7 characters long, such as "819b ". // // A comparison of browsers running on WindowsXP shows that // they will parse the following inputs (egrep syntax): |