http-extensions icon indicating copy to clipboard operation
http-extensions copied to clipboard

Method rewriting

Open mnot opened this issue 3 years ago • 3 comments

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.

mnot avatar Feb 02 '22 05:02 mnot

So this needs to be 303, right?

reschke avatar Feb 02 '22 09:02 reschke

Yes. It might be worth mentioning that other redirects work too.

mnot avatar Feb 03 '22 00:02 mnot

Which?

Yes, redirects work as expected, but if you want the subsequent request to be a GET, it needs to be 303, no?

reschke avatar Feb 03 '22 08:02 reschke