Index: net/http/http_response_headers.cc |
=================================================================== |
--- net/http/http_response_headers.cc (revision 18197) |
+++ net/http/http_response_headers.cc (working copy) |
@@ -121,6 +121,9 @@ |
if ((options & PERSIST_SANS_HOP_BY_HOP) == PERSIST_SANS_HOP_BY_HOP) |
AddHopByHopHeaders(&filter_headers); |
+ if ((options & PERSIST_SANS_RANGES) == PERSIST_SANS_RANGES) |
+ AddHopContentRangeHeaders(&filter_headers); |
+ |
std::string blob; |
blob.reserve(raw_headers_.size()); |
@@ -645,6 +648,10 @@ |
result->insert(std::string(kChallengeResponseHeaders[i])); |
} |
+void HttpResponseHeaders::AddHopContentRangeHeaders(HeaderSet* result) { |
+ result->insert("content-range"); |
+} |
+ |
void HttpResponseHeaders::GetMimeTypeAndCharset(std::string* mime_type, |
std::string* charset) const { |
mime_type->clear(); |