4 ms·
There are different kinds of redirects. See the discussion of 303 See Other vs 307 Temporary Redirect in RFC 7231: https://tools.ietf.org/html/rfc7231#section-
by willglynn 8y ago
There are different kinds of redirects. See the discussion of 303 See Other vs 307 Temporary Redirect in RFC 7231:
https://tools.ietf.org/html/rfc7231#section-6.4.4 https://tools.ietf.org/html/rfc7231#section-6.4.4
https://tools.ietf.org/html/rfc7231#section-6.4.7 https://tools.ietf.org/html/rfc7231#section-6.4.7
303 means "GET this new URL" while 307 means "resend your request at this URL without changing the verb or body".
- user5994461 8y agoAnd you can see that the RFC only talks in terms of should and may. It's beyond basic HTTP functionality, the RFC is basically moot at this stage and you're dealing in implementation specific details. You will have to work individually on every client you plan to support, both browsers and libraries. It can be done but it's not necessarily a good idea.