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

Unified Diff: chrome/browser/net/double_get_experiment_interceptor.cc

Issue 11420013: POSTs to HSTS domains are no longer converted to GETs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fix breakage Created 8 years, 1 month 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
Index: chrome/browser/net/double_get_experiment_interceptor.cc
===================================================================
--- chrome/browser/net/double_get_experiment_interceptor.cc (revision 169969)
+++ chrome/browser/net/double_get_experiment_interceptor.cc (working copy)
@@ -140,7 +140,8 @@
// Repeat the GET requests as it has non cacheable response with the right
// MIME type.
intercepted_requests_.insert(request->identifier());
- return new net::URLRequestRedirectJob(request, network_delegate,
- request->url());
+ return new net::URLRequestRedirectJob(
+ request, network_delegate, request->url(),
+ net::URLRequestRedirectJob::REDIRECT_302_FOUND);
}

Powered by Google App Engine
This is Rietveld 408576698