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

Unified Diff: net/url_request/url_request_redirect_job.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: net/url_request/url_request_redirect_job.cc
===================================================================
--- net/url_request/url_request_redirect_job.cc (revision 169969)
+++ net/url_request/url_request_redirect_job.cc (working copy)
@@ -12,10 +12,11 @@
URLRequestRedirectJob::URLRequestRedirectJob(URLRequest* request,
NetworkDelegate* network_delegate,
- const GURL& redirect_destination)
+ const GURL& redirect_destination,
+ StatusCode http_status_code)
: URLRequestJob(request, network_delegate),
redirect_destination_(redirect_destination),
- http_status_code_(302),
+ http_status_code_(http_status_code),
ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)) {}
void URLRequestRedirectJob::Start() {

Powered by Google App Engine
This is Rietveld 408576698