Status Codes

See Mozilla's MDN documentationarrow-up-right for a full list, I'm just going to cover the odd cases that have bitten me in the past here:

HTTP 301arrow-up-right (Moved Permanently) and 302arrow-up-right (Found, or a temporary redirect) are supposed to leave the HTTP method unaltered (based on this RFC from 2014arrow-up-right), but many HTTP clients (including curl) do not respect that for historical reasons and change the method to a GET, as a result of that it's recommended to use HTTP 308arrow-up-right (Permanent Redirect) and 307arrow-up-right (Temporary Redirect) if preserving the HTTP method is important.

Last updated