A quick reference for how clients treat the request method, body, and headers when they follow a redirect.
- 307 and 308 keep the request as it is: same method, same body.
- 303 always changes the request to a GET.
- 301 and 302 are inconsistent for historical reasons: clients change POST to GET.
- No redirect code can turn a GET into a POST, PUT, or DELETE.