- From: Matthew Bishop <matt@thebishops.org>
- Date: Sun, 5 May 2019 08:16:02 -0700
- To: ietf-http-wg@w3.org
- Message-ID: <CAEvuJbZN9abyEQTnnHEi9vnPXhdCTSQbvz7_MORgn+6H6gd7Sg@mail.gmail.com>
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.
Received on Sunday, 5 May 2019 15:16:39 UTC