diff options
author | koz@chromium.org <koz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-10 19:28:53 +0000 |
---|---|---|
committer | koz@chromium.org <koz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-10 19:28:53 +0000 |
commit | 42de2f310fa20df67de89578a7371ea1a4439ba8 (patch) | |
tree | a3d780111570b1574f50c17ae23494ef3971574e /chrome/browser/custom_handlers | |
parent | d96a70ef7e17e99b39728981c08ad8a62f13076f (diff) | |
download | chromium_src-42de2f310fa20df67de89578a7371ea1a4439ba8.zip chromium_src-42de2f310fa20df67de89578a7371ea1a4439ba8.tar.gz chromium_src-42de2f310fa20df67de89578a7371ea1a4439ba8.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/custom_handlers')
-rw-r--r-- | chrome/browser/custom_handlers/protocol_handler_registry.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry.cc b/chrome/browser/custom_handlers/protocol_handler_registry.cc index b76bad6..5d8ad6a 100644 --- a/chrome/browser/custom_handlers/protocol_handler_registry.cc +++ b/chrome/browser/custom_handlers/protocol_handler_registry.cc @@ -150,7 +150,7 @@ net::URLRequestJob* ProtocolHandlerRegistry::IOThreadDelegate::MaybeCreateJob( return new net::URLRequestRedirectJob( request, network_delegate, translated_url, - net::URLRequestRedirectJob::REDIRECT_302_FOUND); + net::URLRequestRedirectJob::REDIRECT_307_TEMPORARY_REDIRECT); } // JobInterceptorFactory ------------------------------------------------------- |