Fix for proxy-bypass support on iOS.
BUG=300178
Review URL: https://codereview.chromium.org/25776002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229661 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc
index 018ba3b..9101872 100644
--- a/net/http/http_network_transaction.cc
+++ b/net/http/http_network_transaction.cc
@@ -925,10 +925,8 @@
}
DCHECK(response_.headers.get());
- // Server-induced fallback is supported only if this is a PAC configured
- // proxy. See: http://crbug.com/143712
- if (response_.was_fetched_via_proxy && proxy_info_.did_use_pac_script() &&
- response_.headers.get() != NULL) {
+ // Server-induced fallback; see: http://crbug.com/143712
+ if (response_.was_fetched_via_proxy && response_.headers.get() != NULL) {
bool should_fallback =
response_.headers->HasHeaderValue("connection", "proxy-bypass");
// Additionally, fallback if a 500 is returned via the data reduction proxy.