diff options
author | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-14 01:45:08 +0000 |
---|---|---|
committer | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-14 01:45:08 +0000 |
commit | dc65178303132de4a628669e1626344ebd33c127 (patch) | |
tree | 5c63bc2c2e2c1f030809c257e6c4412a8e4fc35b /net/url_request/url_request_http_job.cc | |
parent | c8d01b9df4bd67ef0e42f93b750dac46a8d30f39 (diff) | |
download | chromium_src-dc65178303132de4a628669e1626344ebd33c127.zip chromium_src-dc65178303132de4a628669e1626344ebd33c127.tar.gz chromium_src-dc65178303132de4a628669e1626344ebd33c127.tar.bz2 |
Add a unit test for ERR_UNEXPECTED_SERVER_AUTH.
Remove the obsolete change to
URLRequestHttpJob::IsRedirectResponse, which was
accidentally checked in.
R=eroman
BUG=7338
Review URL: http://codereview.chromium.org/20279
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9816 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request/url_request_http_job.cc')
-rw-r--r-- | net/url_request/url_request_http_job.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc index c7fc435..c4d0563 100644 --- a/net/url_request/url_request_http_job.cc +++ b/net/url_request/url_request_http_job.cc @@ -212,12 +212,6 @@ bool URLRequestHttpJob::IsRedirectResponse(GURL* location, 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; |