Forum Discussion
Stanislas_Piro2
Jan 18, 2018Cumulonimbus
Hi,
Http::redirect respond with a 302 code and Location header set with new URL.
It never define if the method must be preserved or not!
In HTTP RFC, look at this text
Note: For historical reasons, a user agent MAY change the request method from POST to GET for the subsequent request. If this behavior is undesired, the 307 (Temporary Redirect) status code can be used instead.
So the 307 is the good response which can only be set with HTTP::respond command