Chromium Code Reviews| Index: net/http/http_util.h |
| diff --git a/net/http/http_util.h b/net/http/http_util.h |
| index 1bb3c93f8ab168152dc75205e00aabcc0d9c30cf..e247e097d627f77d93e9a188cfc7557d7ce40ebd 100644 |
| --- a/net/http/http_util.h |
| +++ b/net/http/http_util.h |
| @@ -203,6 +203,12 @@ class NET_EXPORT HttpUtil { |
| const std::string& last_modified_header, |
| const std::string& date_header); |
| + // Returns true if the parameters describe a response with validators (either |
| + // strong or weak). See section 13.3.3 of RFC 2616. |
|
bengr
2015/12/03 17:42:21
I'd also add to the comment that it returns true s
jamartin (wrong)
2015/12/08 16:58:18
Done.
|
| + static bool HasValidators(HttpVersion version, |
| + const std::string& etag_header, |
| + const std::string& last_modified_header); |
| + |
| // Gets a vector of common HTTP status codes for histograms of status |
| // codes. Currently returns everything in the range [100, 600), plus 0 |
| // (for invalid responses/status codes). |