Commit 42de2f31 authored by koz@chromium.org's avatar koz@chromium.org

Make ProtocolHandlerRegistry use 307 to redirect instead of 302.


BUG=161769


Review URL: https://chromiumcodereview.appspot.com/11663003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176128 0039d316-1c4b-4281-b951-d872f2087c98
parent d96a70ef
...@@ -150,7 +150,7 @@ net::URLRequestJob* ProtocolHandlerRegistry::IOThreadDelegate::MaybeCreateJob( ...@@ -150,7 +150,7 @@ net::URLRequestJob* ProtocolHandlerRegistry::IOThreadDelegate::MaybeCreateJob(
return new net::URLRequestRedirectJob( return new net::URLRequestRedirectJob(
request, network_delegate, translated_url, request, network_delegate, translated_url,
net::URLRequestRedirectJob::REDIRECT_302_FOUND); net::URLRequestRedirectJob::REDIRECT_307_TEMPORARY_REDIRECT);
} }
// JobInterceptorFactory ------------------------------------------------------- // JobInterceptorFactory -------------------------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment