You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/05/12 02:56:47 UTC

[GitHub] [apisix] spacewander commented on issue #4222: request help: redirect can't support POST

spacewander commented on issue #4222:
URL: https://github.com/apache/apisix/issues/4222#issuecomment-839394442


   It is your client to decide to use GET after redirect.
   
   If your client supports 308, you can use 308 instead. See the difference between 301 and 308:
   
   > The request method and the body will not be altered, whereas 301 may incorrectly sometimes be changed to a GET method.
   
   https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/308


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org