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

Unified Diff: chrome/browser/custom_handlers/protocol_handler_registry.cc

Issue 11663003: Make ProtocolHandlerRegistry use 307 to redirect instead of 302. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/custom_handlers/protocol_handler_registry.cc
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry.cc b/chrome/browser/custom_handlers/protocol_handler_registry.cc
index a95fd1c285665acdca3f8715d87f2ed593ded451..b882c7ceb8a1eaaca4dd3a511c600e73027df4a2 100644
--- a/chrome/browser/custom_handlers/protocol_handler_registry.cc
+++ b/chrome/browser/custom_handlers/protocol_handler_registry.cc
@@ -152,7 +152,7 @@ net::URLRequestJob* ProtocolHandlerRegistry::Core::MaybeCreateJob(
return new net::URLRequestRedirectJob(
request, network_delegate, translated_url,
- net::URLRequestRedirectJob::REDIRECT_302_FOUND);
+ net::URLRequestRedirectJob::REDIRECT_307_TEMPORARY_REDIRECT);
}
// URLInterceptor ------------------------------------------------------------
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698