| Index: net/http/http_response_headers.h
|
| diff --git a/net/http/http_response_headers.h b/net/http/http_response_headers.h
|
| index ddab798c0a2c0795556d1b2da0a583574c581553..09f6199f11d1a8a52a20a9718f5a7d204e3e4dcd 100644
|
| --- a/net/http/http_response_headers.h
|
| +++ b/net/http/http_response_headers.h
|
| @@ -307,6 +307,12 @@ class NET_EXPORT HttpResponseHeaders
|
| static HttpVersion ParseVersion(std::string::const_iterator line_begin,
|
| std::string::const_iterator line_end);
|
|
|
| + // Helper function for ParseVersion to handle multiple digits and leading
|
| + // zeros in Http Version
|
| + static bool ParseVersionInternal(std::string::const_iterator version_begin,
|
| + std::string::const_iterator version_end,
|
| + uint32* value);
|
| +
|
| // Tries to extract the status line from a header block, given the first
|
| // line of said header block. If the status line is malformed, we'll
|
| // construct a valid one. Example input:
|
|
|