W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2019

Re: NEW PREFERENCE - location

From: Mark Nottingham <mnot@mnot.net>
Date: Mon, 6 May 2019 10:16:33 +1000
Cc: ietf-http-wg@w3.org
Message-Id: <DFB42D1F-A5BD-44B7-9C00-C24EA439952B@mnot.net>
To: Matthew Bishop <matt@thebishops.org>
Hi Matthew,

Without commenting on the proposal, the HTTP Preferences registry is Specification Required, which means you need a written specification; that's what the "Reference" item should refer to.

Cheers,



> On 6 May 2019, at 1:16 am, Matthew Bishop <matt@thebishops.org> wrote:
> 
> o  Preference: location
> 
> o  Value: One of either "redirect" or "stay"
> 
> o  Description: In state change requests, the client prefers the server to return either a
>       redirect status code or a 2xx status code when a response contains a Location 
>       header. The value "redirect" indicates a 303 See Other should be returned. The value
>       "stay" indicates an appropriate 2xx status should be returned.  
> 
> o  Reference: HTTP/1.1: Semantics and Content, section 4.4.4 303 See Other
>       [https://tools.ietf.org/html/rfc7231#section-6.4.4]
> 
> o  Notes: This preference is intended to be used with HTTP methods that return a Location
>       header and either a 303 or a 2xx status code.
>       
>       This preference supports the Post/Redirect/Get pattern. Wikipedia's entry for this
>       pattern explains it's value in client interactions. See 
>       https://en.wikipedia.org/wiki/Post/Redirect/Get for details.

--
Mark Nottingham   https://www.mnot.net/
Received on Monday, 6 May 2019 00:17:05 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 2 February 2023 18:44:01 UTC