Index: net/http/proxy_client_socket.cc |
diff --git a/net/http/proxy_client_socket.cc b/net/http/proxy_client_socket.cc |
index 3094b436a20b5fd5ea4aeeb9ce45888393bb3875..12a517a27a9b81ac7b6eec8294245d62f5936573 100644 |
--- a/net/http/proxy_client_socket.cc |
+++ b/net/http/proxy_client_socket.cc |
@@ -57,18 +57,6 @@ void ProxyClientSocket::BuildTunnelRequest( |
} |
// static |
-int ProxyClientSocket::HandleProxyAuthChallenge(HttpAuthController* auth, |
- HttpResponseInfo* response, |
- const BoundNetLog& net_log) { |
- DCHECK(response->headers.get()); |
- int rv = auth->HandleAuthChallenge(response->headers, false, true, net_log); |
- response->auth_challenge = auth->auth_info(); |
- if (rv == OK) |
- return ERR_PROXY_AUTH_REQUESTED; |
- return rv; |
-} |
- |
-// static |
void ProxyClientSocket::LogBlockedTunnelResponse(int http_status_code, |
bool is_https_proxy) { |
if (is_https_proxy) { |
@@ -103,9 +91,7 @@ bool ProxyClientSocket::SanitizeProxyAuth(HttpResponseInfo* response) { |
CopyHeaderValues(old_headers, new_headers, "trailer"); |
CopyHeaderValues(old_headers, new_headers, "transfer-encoding"); |
CopyHeaderValues(old_headers, new_headers, "upgrade"); |
- |
CopyHeaderValues(old_headers, new_headers, "content-length"); |
- |
CopyHeaderValues(old_headers, new_headers, "proxy-authenticate"); |
response->headers = new_headers; |