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

Unified Diff: net/url_request/url_request.cc

Issue 165365: Merge 22100 - Fix 307 redirects of a POST request to actually send the body a... (Closed) Base URL: svn://chrome-svn/chrome/branches/195/src/
Patch Set: Created 11 years, 4 months 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.cc
===================================================================
--- net/url_request/url_request.cc (revision 23140)
+++ net/url_request/url_request.cc (working copy)
@@ -438,9 +438,9 @@
// prompt and so shall we.
strip_post_specific_headers = method_ == "POST";
method_ = "GET";
+ upload_ = NULL;
}
url_ = location;
- upload_ = NULL;
--redirect_limit_;
if (strip_post_specific_headers) {
Property changes on: net\url_request\url_request.cc
___________________________________________________________________
Modified: svn:mergeinfo
Merged /trunk/src/net/url_request/url_request.cc:r22100
« no previous file with comments | « net/data/url_request_unittest/redirect307-to-echoall.mock-http-headers ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698