| Index: net/url_request/url_request_http_job.cc
|
| ===================================================================
|
| --- net/url_request/url_request_http_job.cc (revision 12730)
|
| +++ net/url_request/url_request_http_job.cc (working copy)
|
| @@ -205,9 +205,12 @@
|
| encoding_types->push_back(Filter::ConvertEncodingToType(encoding_type));
|
| }
|
|
|
| - if (!encoding_types->empty()) {
|
| - Filter::FixupEncodingTypes(*this, encoding_types);
|
| - }
|
| + // Even if encoding types are empty, there is a chance that we need to add
|
| + // some decoding, as some proxies strip encoding completely. In such cases,
|
| + // we may need to add (for example) SDCH filtering (when the context suggests
|
| + // it is appropriate).
|
| + Filter::FixupEncodingTypes(*this, encoding_types);
|
| +
|
| return !encoding_types->empty();
|
| }
|
|
|
|
|