Index: net/http/http_response_headers.h |
diff --git a/net/http/http_response_headers.h b/net/http/http_response_headers.h |
index c29964d61c54c3b4eafdef0311810908e511232f..e33138979e9c5b6a0f46bd664bb9517cc6f760fe 100644 |
--- a/net/http/http_response_headers.h |
+++ b/net/http/http_response_headers.h |
@@ -239,6 +239,9 @@ class NET_EXPORT HttpResponseHeaders |
int64* last_byte_position, |
int64* instance_length) const; |
+ // Returns true if the response is chunk-encoded. |
+ bool IsChunkEncoded() const; |
+ |
// Returns the HTTP response code. This is 0 if the response code text seems |
// to exist but could not be parsed. Otherwise, it defaults to 200 if the |
// response code is not found in the raw headers. |