Index: net/http/http_response_headers_unittest.cc |
=================================================================== |
--- net/http/http_response_headers_unittest.cc (revision 274257) |
+++ net/http/http_response_headers_unittest.cc (working copy) |
@@ -2245,6 +2245,17 @@ |
"Chrome-Proxy: bypass=1799\n", |
net::ProxyService::SHORT_BYPASS, |
}, |
+ { "HTTP/1.1 502 Bad Gateway\n" |
+ "Chrome-Proxy: bypass=1799\n", |
+ net::ProxyService::SHORT_BYPASS, |
+ }, |
+ { "HTTP/1.1 414 Request-URI Too Long\n", |
+ net::ProxyService::PROXY_4XX_BYPASS, |
+ }, |
+ { "HTTP/1.1 414 Request-URI Too Long\n" |
+ "Via: 1.1 Chrome-Compression-Proxy\n", |
+ net::ProxyService::BYPASS_EVENT_TYPE_MAX, |
+ } |
}; |
for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) { |
std::string headers(tests[i].headers); |