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

Issue 8375002: Preserve non-POST methods on 301/302 requests. (Closed)

Created:
9 years, 2 months ago by mmenke
Modified:
9 years, 1 month ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Preserve non-POST methods on 301/302 requests. BUG=56373 TEST=URLRequestTestHTTP.Redirect30*Tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107261

Patch Set 1 : '' #

Patch Set 2 : Default to changing method #

Total comments: 2

Patch Set 3 : Fix typo #

Total comments: 7

Patch Set 4 : Response to comments #

Patch Set 5 : Response to comments, part 2 #

Total comments: 3

Patch Set 6 : Response to wtc's comments about comment #

Patch Set 7 : Response to wtc's comments about comment, part 2 #

Total comments: 2

Patch Set 8 : Normal browsers are normal no longer (Err...or something) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -33 lines) Patch
A net/data/url_request_unittest/redirect301-to-echo View 1 chunk +1 line, -0 lines 0 comments Download
A net/data/url_request_unittest/redirect301-to-echo.mock-http-headers View 1 chunk +2 lines, -0 lines 0 comments Download
A net/data/url_request_unittest/redirect302-to-echo View 1 chunk +1 line, -0 lines 0 comments Download
A net/data/url_request_unittest/redirect302-to-echo.mock-http-headers View 1 chunk +2 lines, -0 lines 0 comments Download
A net/data/url_request_unittest/redirect303-to-echo View 1 chunk +1 line, -0 lines 0 comments Download
A net/data/url_request_unittest/redirect303-to-echo.mock-http-headers View 1 chunk +2 lines, -0 lines 0 comments Download
M net/url_request/url_request.cc View 1 2 3 4 5 6 7 2 chunks +18 lines, -18 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 2 3 4 2 chunks +73 lines, -15 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
mmenke
I've run a successful tryjob, but ran it when results weren't being posted to codereview.
9 years, 2 months ago (2011-10-25 13:54:17 UTC) #1
willchan no longer on Chromium
LGTM, but I asked some of the httpbis people who requested the change to take ...
9 years, 2 months ago (2011-10-25 15:11:36 UTC) #2
mmenke
http://codereview.chromium.org/8375002/diff/16001/net/url_request/url_request_unittest.cc File net/url_request/url_request_unittest.cc (right): http://codereview.chromium.org/8375002/diff/16001/net/url_request/url_request_unittest.cc#newcode297 net/url_request/url_request_unittest.cc:297: LOG(WARNING) << "Request method: " << request_method; On 2011/10/25 ...
9 years, 2 months ago (2011-10-25 15:36:06 UTC) #3
willchan no longer on Chromium
Heard back from one of the httpbis guys. No need to wait for them. http://codereview.chromium.org/8375002/diff/12001/net/url_request/url_request.cc ...
9 years, 2 months ago (2011-10-25 15:38:32 UTC) #4
willchan no longer on Chromium
http://codereview.chromium.org/8375002/diff/16001/net/url_request/url_request_unittest.cc File net/url_request/url_request_unittest.cc (right): http://codereview.chromium.org/8375002/diff/16001/net/url_request/url_request_unittest.cc#newcode297 net/url_request/url_request_unittest.cc:297: LOG(WARNING) << "Request method: " << request_method; On 2011/10/25 ...
9 years, 2 months ago (2011-10-25 15:49:13 UTC) #5
mmenke
http://codereview.chromium.org/8375002/diff/12001/net/url_request/url_request.cc File net/url_request/url_request.cc (right): http://codereview.chromium.org/8375002/diff/12001/net/url_request/url_request.cc#newcode705 net/url_request/url_request.cc:705: bool rewrite_headers = true; On 2011/10/25 15:38:32, willchan wrote: ...
9 years, 2 months ago (2011-10-25 16:09:42 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mmenke@chromium.org/8375002/24001
9 years, 2 months ago (2011-10-25 17:27:53 UTC) #7
wtc
Review comments on Patch Set 5: I only reviewed url_request.cc. The comments need work. Please ...
9 years, 2 months ago (2011-10-25 18:04:48 UTC) #8
julian.reschke
On 2011/10/25 18:04:48, wtc wrote: > ... > We should reference httpbis if we're implementing ...
9 years, 2 months ago (2011-10-25 18:23:00 UTC) #9
mmenke
On 2011/10/25 18:23:00, julian.reschke wrote: > On 2011/10/25 18:04:48, wtc wrote: > > ... > ...
9 years, 2 months ago (2011-10-25 18:25:47 UTC) #10
cbentzel
It's done in other locations: http://codesearch.google.com/codesearch#search&q=draft-ietf&exact_package=chromium On Tue, Oct 25, 2011 at 2:25 PM, <mmenke@chromium.org> ...
9 years, 2 months ago (2011-10-25 18:28:16 UTC) #11
julian.reschke
On 2011/10/25 18:25:47, Matt Menke wrote: > ... > I'm a bit reluctant to refer ...
9 years, 2 months ago (2011-10-25 18:29:39 UTC) #12
mmenke
Chris: Those are drafts that *are* publicly available. Hence the urls. It looks to me ...
9 years, 2 months ago (2011-10-25 18:31:29 UTC) #13
wtc
http://codereview.chromium.org/8375002/diff/24001/net/url_request/url_request.cc File net/url_request/url_request.cc (right): http://codereview.chromium.org/8375002/diff/24001/net/url_request/url_request.cc#newcode702 net/url_request/url_request.cc:702: // user to confirm the generation of a new ...
9 years, 2 months ago (2011-10-25 18:33:39 UTC) #14
julian.reschke
On 2011/10/25 18:31:29, Matt Menke wrote: > Chris: Those are drafts that *are* publicly available. ...
9 years, 2 months ago (2011-10-25 18:41:39 UTC) #15
mmenke
Thanks, Julian http://codereview.chromium.org/8375002/diff/24001/net/url_request/url_request.cc File net/url_request/url_request.cc (right): http://codereview.chromium.org/8375002/diff/24001/net/url_request/url_request.cc#newcode702 net/url_request/url_request.cc:702: // user to confirm the generation of ...
9 years, 2 months ago (2011-10-25 18:54:00 UTC) #16
julian.reschke
On 2011/10/25 18:54:00, Matt Menke wrote: > How's this: > > // For 303 redirects, ...
9 years, 2 months ago (2011-10-25 19:01:45 UTC) #17
mmenke
On 2011/10/25 19:01:45, julian.reschke wrote: > On 2011/10/25 18:54:00, Matt Menke wrote: > > How's ...
9 years, 2 months ago (2011-10-25 19:37:32 UTC) #18
julian.reschke
On 2011/10/25 19:37:32, Matt Menke wrote: > ... > wtc, willchan: Any reason for it? ...
9 years, 2 months ago (2011-10-25 19:47:16 UTC) #19
willchan no longer on Chromium
I'm down for fixing it and seeing if people complain afterward. This is early enough ...
9 years, 2 months ago (2011-10-25 20:03:47 UTC) #20
mmenke
On 2011/10/25 20:03:47, willchan wrote: > I'm down for fixing it and seeing if people ...
9 years, 2 months ago (2011-10-25 20:07:45 UTC) #21
wtc
mmenke: the url_request.cc comments in Patch Set 7 LGTM. Thanks! (I didn't review the other ...
9 years, 2 months ago (2011-10-25 20:42:56 UTC) #22
mmenke
http://codereview.chromium.org/8375002/diff/24005/net/url_request/url_request.cc File net/url_request/url_request.cc (right): http://codereview.chromium.org/8375002/diff/24005/net/url_request/url_request.cc#newcode701 net/url_request/url_request.cc:701: // normal browsers do this and so shall we. ...
9 years, 2 months ago (2011-10-25 20:53:33 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mmenke@chromium.org/8375002/20012
9 years, 2 months ago (2011-10-25 23:38:11 UTC) #24
commit-bot: I haz the power
Change committed as 107261
9 years, 2 months ago (2011-10-26 00:50:31 UTC) #25
julian.reschke
9 years, 1 month ago (2011-10-31 15:45:21 UTC) #26
julian.reschke
Stable link to published Internet Draft: https://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-17#section-7.3
9 years, 1 month ago (2011-10-31 15:46:42 UTC) #27
mmenke
9 years, 1 month ago (2011-10-31 15:49:05 UTC) #28
On 2011/10/31 15:46:42, julian.reschke wrote:
> Stable link to published Internet Draft:
> https://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-17#section-7.3

Thanks.  I'll update it in the 303 HEAD CL.

Powered by Google App Engine
This is Rietveld 408576698