Could someone confirm it's not possible to change an http request method (from GET to POST for example) in a rewrite rule ?
A quote from some online doc would be really useful.
Could someone confirm it's not possible to change an http request method (from GET to POST for example) in a rewrite rule ?
A quote from some online doc would be really useful.
POST
can be redirected toGET
with a303 See Other
response per RFC 7231, 6.4.4. Reading through the3xx
response definitions and notes you can find out when a client may change the request method and how to prevent that.All the other rewrites not involving URL redirection are internal and happens during the same request. Those won't invoke other requests at all which makes changing the method impossible.