Chromium Code Reviews| Index: net/http/http_response_headers.h |
| diff --git a/net/http/http_response_headers.h b/net/http/http_response_headers.h |
| index caab083b7270fd9931f39cc4563560d067c897cf..6f5e1afb634ccd057f940ac4daf0635e95ac4141 100644 |
| --- a/net/http/http_response_headers.h |
| +++ b/net/http/http_response_headers.h |
| @@ -257,6 +257,11 @@ class NET_EXPORT HttpResponseHeaders |
| // See section 13.3.3 of RFC 2616. |
| bool HasStrongValidators() const; |
| + // Returns true if this response has any validator (either a Last-Modified or |
| + // an ETag) regardless if they are strong or weak. See section 13.3.3 of RFC |
|
bengr
2016/02/21 21:08:05
regardless if they are -> regardless of whether it
jamartin
2016/02/22 16:49:43
Done.
|
| + // 2616. |
| + bool HasValidators() const; |
| + |
| // Extracts the value of the Content-Length header or returns -1 if there is |
| // no such header in the response. |
| int64 GetContentLength() const; |