Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Unified Diff: net/url_request/url_request_http_job.cc

Issue 20279: Add a unit test for ERR_UNEXPECTED_SERVER_AUTH.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/tools/testserver/testserver.py ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_http_job.cc
===================================================================
--- net/url_request/url_request_http_job.cc (revision 9641)
+++ net/url_request/url_request_http_job.cc (working copy)
@@ -212,12 +212,6 @@
if (!response_info_->headers->IsRedirect(&value))
return false;
- // For HTTPS, if we didn't receive a server certificate, the response was
- // from the proxy server (a response to the CONNECT request) rather than
- // the server.
- if (request_->url().SchemeIsSecure() && !response_info_->ssl_info.cert)
- return false;
-
*location = request_->url().Resolve(value);
*http_status_code = response_info_->headers->response_code();
return true;
« no previous file with comments | « net/tools/testserver/testserver.py ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698