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

Issue 9816011: Add support for 308 permanent redirects. (Closed)

Created:
8 years, 9 months ago by mmenke
Modified:
6 years, 8 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, julian.reschke_gmail.com
Visibility:
Public.

Description

Add support for 308 permanent redirects. See https://datatracker.ietf.org/doc/draft-reschke-http-status-308/ This should not break 308 Resume Incomplete responses, since they don't have Location headers. R=willchan@chromium.org BUG=109012 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=265835

Patch Set 1 #

Patch Set 2 : 2 years later.... #

Patch Set 3 : Oops #

Patch Set 4 : Remove bonus linebreak in test html file #

Total comments: 3

Patch Set 5 : Add response code check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -2 lines) Patch
A net/data/url_request_unittest/308-without-location-header View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A net/data/url_request_unittest/308-without-location-header.mock-http-headers View 1 1 chunk +1 line, -0 lines 0 comments Download
A net/data/url_request_unittest/redirect308-to-echo View 1 chunk +1 line, -0 lines 0 comments Download
A net/data/url_request_unittest/redirect308-to-echo.mock-http-headers View 1 1 chunk +2 lines, -0 lines 0 comments Download
M net/http/http_network_transaction_unittest.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M net/http/http_response_headers.cc View 1 3 chunks +8 lines, -2 lines 0 comments Download
M net/http/http_response_headers_unittest.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 2 3 4 1 chunk +30 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
mmenke
8 years, 9 months ago (2012-03-21 17:55:03 UTC) #1
mmenke
[+Julian], FYI
8 years, 9 months ago (2012-03-21 18:10:22 UTC) #2
julian.reschke
On 2012/03/21 18:10:22, Matt Menke wrote: > [+Julian], FYI Looks good, but then I don't ...
8 years, 9 months ago (2012-03-21 20:43:36 UTC) #3
mmenke
Will: Don't bother to review this yet. Looks like we're already using the 308 response ...
8 years, 9 months ago (2012-03-21 21:21:56 UTC) #4
julian.reschke
On 2012/03/21 21:21:56, Matt Menke wrote: > Will: Don't bother to review this yet. Looks ...
8 years, 9 months ago (2012-03-21 21:26:57 UTC) #5
mmenke1
On 2012/03/21 21:26:57, julian.reschke wrote: > On 2012/03/21 21:21:56, Matt Menke wrote: > > Will: ...
8 years, 9 months ago (2012-03-21 21:31:23 UTC) #6
willchan no longer on Chromium
I'm going to review this anyway, since apparently the only thing we need to change ...
8 years, 9 months ago (2012-03-21 21:36:27 UTC) #7
willchan no longer on Chromium
Er, and yes, 309 is fine by me. On Wed, Mar 21, 2012 at 2:36 ...
8 years, 9 months ago (2012-03-21 21:36:43 UTC) #8
julian.reschke
On 2012-03-21 22:31, mmenke@google.com wrote: > On 2012/03/21 21:26:57, julian.reschke wrote: >> On 2012/03/21 21:21:56, ...
8 years, 9 months ago (2012-03-21 21:47:26 UTC) #9
willchan no longer on Chromium
306 sees basically 0 use. On Wed, Mar 21, 2012 at 2:47 PM, Julian Reschke ...
8 years, 9 months ago (2012-03-21 21:58:26 UTC) #10
julian.reschke
On 2012-03-21 22:21, mmenke@chromium.org wrote: > Will: Don't bother to review this yet. Looks like ...
8 years, 9 months ago (2012-03-21 22:48:28 UTC) #11
willchan no longer on Chromium
I'll loop in the relevant folks Google-side. On Wed, Mar 21, 2012 at 3:48 PM, ...
8 years, 9 months ago (2012-03-21 22:51:24 UTC) #12
julian.reschke
On 2012-03-21 23:51, William Chan (陈智昌) wrote: > I'll loop in the relevant folks Google-side. ...
8 years, 9 months ago (2012-03-21 22:58:02 UTC) #13
julian.reschke
On 2012-03-21 23:51, William Chan (陈智昌) wrote: > I'll loop in the relevant folks Google-side. ...
8 years, 9 months ago (2012-03-23 09:39:24 UTC) #14
willchan no longer on Chromium
We're discussing the matter internally. We'll get back to you later today. Cheers. On Fri, ...
8 years, 9 months ago (2012-03-23 15:24:39 UTC) #15
cbentzel
The plan is to migrate the service to use a different status code or other ...
8 years, 9 months ago (2012-03-23 15:59:21 UTC) #16
julian.reschke
On 2012-03-23 16:59, Chris Bentzel wrote: > The plan is to migrate the service to ...
8 years, 9 months ago (2012-03-23 16:09:10 UTC) #17
cbentzel
As discussed, this will need to go into the cryogenic chamber for a little while.
8 years, 9 months ago (2012-03-26 17:32:12 UTC) #18
cbentzel
The 308 response code is no longer being used by browser-based clients of the Google ...
8 years, 4 months ago (2012-08-01 22:24:57 UTC) #19
mmenke
There's still code in ChromeOS to handle it. http://code.google.com/p/chromium/source/search?q=HTTP_RESUME_INCOMPLETE&origq=HTTP_RESUME_INCOMPLETE&btnG=Search+Trunk On Wed, Aug 1, 2012 at ...
8 years, 4 months ago (2012-08-01 22:28:14 UTC) #20
cbentzel
OK, that should be changeable now. On Wed, Aug 1, 2012 at 6:28 PM, Matt ...
8 years, 4 months ago (2012-08-01 22:45:16 UTC) #21
mmenke
Will: PTAL. https://codereview.chromium.org/9816011/diff/57002/net/http/http_response_headers.cc File net/http/http_response_headers.cc (right): https://codereview.chromium.org/9816011/diff/57002/net/http/http_response_headers.cc#newcode1027 net/http/http_response_headers.cc:1027: // future references ... SHOULD use one ...
6 years, 8 months ago (2014-04-23 15:45:28 UTC) #22
julian.reschke
On 23.04.2014 17:45, mmenke@chromium.org wrote: > Will: PTAL. > > > https://codereview.chromium.org/9816011/diff/57002/net/http/http_response_headers.cc > > File ...
6 years, 8 months ago (2014-04-23 16:04:36 UTC) #23
willchan no longer on Chromium
+rvargas as an fyi https://codereview.chromium.org/9816011/diff/57002/net/url_request/url_request_unittest.cc File net/url_request/url_request_unittest.cc (right): https://codereview.chromium.org/9816011/diff/57002/net/url_request/url_request_unittest.cc#newcode6048 net/url_request/url_request_unittest.cc:6048: } Can you also verify ...
6 years, 8 months ago (2014-04-23 22:24:02 UTC) #24
willchan no longer on Chromium
lgtm
6 years, 8 months ago (2014-04-23 22:24:12 UTC) #25
willchan no longer on Chromium
Very excited to see this finally getting in.
6 years, 8 months ago (2014-04-23 22:24:29 UTC) #26
mmenke
Thanks for the review! https://codereview.chromium.org/9816011/diff/57002/net/url_request/url_request_unittest.cc File net/url_request/url_request_unittest.cc (right): https://codereview.chromium.org/9816011/diff/57002/net/url_request/url_request_unittest.cc#newcode6048 net/url_request/url_request_unittest.cc:6048: } On 2014/04/23 22:24:03, willchan ...
6 years, 8 months ago (2014-04-24 00:13:46 UTC) #27
mmenke
The CQ bit was checked by mmenke@chromium.org
6 years, 8 months ago (2014-04-24 00:13:54 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mmenke@chromium.org/9816011/77002
6 years, 8 months ago (2014-04-24 00:15:01 UTC) #29
commit-bot: I haz the power
6 years, 8 months ago (2014-04-24 03:32:41 UTC) #30
Message was sent while issue was closed.
Change committed as 265835

Powered by Google App Engine
This is Rietveld 408576698