When a web server wishes to redirect a user’s browser, which status code (ie, “200 OK”) should it place in the response header? From my reading it seems the answer could be any one of the 3XX codes, but each of those codes seems to have a different description. Does it even matter which is used so long as “Location” is in the response header?
Share
To save me a lot of typing – read this and this.
NB – not all the 3xx codes do redirection. But the semantics of 301, 302, 303 and 307 are similar.