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

Issue 8418024: Don't convert HEAD requests to GETs on 303 redirects. (Closed)

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

Description

Don't convert HEAD requests to GETs on 303 redirects. BUG=102130 TEST=URLRequestTestHTTP.Redirect*Tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=108060

Patch Set 1 #

Patch Set 2 : Fix sync unit tests #

Total comments: 1

Patch Set 3 : Don't add get_handlers to head_handlers #

Patch Set 4 : Update httpbis draft link #

Patch Set 5 : Update comment based on latest draft #

Patch Set 6 : Slight comment cleanup #

Total comments: 15

Patch Set 7 : Response to comments #

Total comments: 4

Patch Set 8 : Response to comments, part 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -58 lines) Patch
M net/tools/testserver/testserver.py View 1 2 3 4 5 6 7 41 chunks +59 lines, -49 lines 0 comments Download
M net/url_request/url_request.cc View 1 2 3 4 5 1 chunk +9 lines, -8 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 2 3 5 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
mmenke
http://codereview.chromium.org/8418024/diff/3001/net/tools/testserver/testserver.py File net/tools/testserver/testserver.py (left): http://codereview.chromium.org/8418024/diff/3001/net/tools/testserver/testserver.py#oldcode354 net/tools/testserver/testserver.py:354: self.EchoAllHandler, Removed these because they're included in get_handlers.
9 years, 1 month ago (2011-10-28 19:53:24 UTC) #1
willchan no longer on Chromium
A little swamped, redirecting to wtc.
9 years, 1 month ago (2011-10-28 19:55:34 UTC) #2
julian.reschke
Code change looks good to me (assuming that the string comparison using != is correct ...
9 years, 1 month ago (2011-10-29 07:34:22 UTC) #3
wtc
Patch Set 6 LGTM. I suggest some changes and have some questions for testserver.py below. ...
9 years, 1 month ago (2011-10-31 19:21:00 UTC) #4
julian.reschke
On 2011/10/31 19:21:00, wtc wrote: > ... > http://codereview.chromium.org/8418024/diff/7004/net/tools/testserver/testserver.py#newcode954 > net/tools/testserver/testserver.py:954: self.send_header('Content-Length', > len(data)) > ...
9 years, 1 month ago (2011-10-31 19:46:49 UTC) #5
wtc
http://codereview.chromium.org/8418024/diff/7004/net/tools/testserver/testserver.py File net/tools/testserver/testserver.py (right): http://codereview.chromium.org/8418024/diff/7004/net/tools/testserver/testserver.py#newcode954 net/tools/testserver/testserver.py:954: self.send_header('Content-Length', len(data)) julian.reschke: thank you for the reply. mmenke: ...
9 years, 1 month ago (2011-10-31 19:59:40 UTC) #6
mmenke
http://codereview.chromium.org/8418024/diff/7004/net/tools/testserver/testserver.py File net/tools/testserver/testserver.py (left): http://codereview.chromium.org/8418024/diff/7004/net/tools/testserver/testserver.py#oldcode359 net/tools/testserver/testserver.py:359: self.EchoAllHandler, On 2011/10/31 19:21:00, wtc wrote: > > Why ...
9 years, 1 month ago (2011-10-31 20:46:40 UTC) #7
mmenke
http://codereview.chromium.org/8418024/diff/7004/net/tools/testserver/testserver.py File net/tools/testserver/testserver.py (right): http://codereview.chromium.org/8418024/diff/7004/net/tools/testserver/testserver.py#newcode1376 net/tools/testserver/testserver.py:1376: self.send_header('Content-type', 'text/html') On 2011/10/31 20:46:40, Matt Menke wrote: > ...
9 years, 1 month ago (2011-10-31 20:49:25 UTC) #8
mmenke
http://codereview.chromium.org/8418024/diff/7004/net/tools/testserver/testserver.py File net/tools/testserver/testserver.py (right): http://codereview.chromium.org/8418024/diff/7004/net/tools/testserver/testserver.py#newcode1376 net/tools/testserver/testserver.py:1376: self.send_header('Content-type', 'text/html') On 2011/10/31 20:49:25, Matt Menke wrote: > ...
9 years, 1 month ago (2011-10-31 20:52:14 UTC) #9
wtc
Patch Set 7 LGTM. I have one suggested change, but I'm not sure if it'll ...
9 years, 1 month ago (2011-10-31 23:02:50 UTC) #10
mmenke
http://codereview.chromium.org/8418024/diff/7008/net/tools/testserver/testserver.py File net/tools/testserver/testserver.py (right): http://codereview.chromium.org/8418024/diff/7008/net/tools/testserver/testserver.py#newcode1363 net/tools/testserver/testserver.py:1363: self.send_header('Content-type', 'text/html') On 2011/10/31 23:02:51, wtc wrote: > > ...
9 years, 1 month ago (2011-10-31 23:29:12 UTC) #11
wtc
Patch Set 8 LGTM! Thanks. (Didn't mean to make you do all that cleanup of ...
9 years, 1 month ago (2011-10-31 23:51:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mmenke@chromium.org/8418024/6017
9 years, 1 month ago (2011-11-01 01:12:43 UTC) #13
commit-bot: I haz the power
9 years, 1 month ago (2011-11-01 02:32:06 UTC) #14
Change committed as 108060

Powered by Google App Engine
This is Rietveld 408576698