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..2e6c2cc407e6d19193197cd275e41de545ea2418 100644 |
| --- a/net/http/http_response_headers.h |
| +++ b/net/http/http_response_headers.h |
| @@ -257,6 +257,10 @@ class NET_EXPORT HttpResponseHeaders |
| // See section 13.3.3 of RFC 2616. |
| bool HasStrongValidators() const; |
| + // Returns true if this response has validators (either strong or weak). See |
| + // section 13.3.3 of RFC 2616. |
|
bengr
2015/12/03 17:42:21
I'd add that it returns true specifically when the
jamartin (wrong)
2015/12/08 16:58:18
Done.
|
| + 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; |