http-extensions
http-extensions copied to clipboard
Method rewriting
In some cases, the server may choose to respond indirectly to the QUERY request by returning a 3xx Redirection with a Location header field specifying an alternate Request URI from which the results can be retrieved using an HTTP GET request.
Some 3xx will rewrite the method, but others won't.
So this needs to be 303, right?
Yes. It might be worth mentioning that other redirects work too.
Which?
Yes, redirects work as expected, but if you want the subsequent request to be a GET, it needs to be 303, no?