HTTP 302
Encyclopedia
The HTTP response status code 302 Found is the most common way of performing a redirection.

It is an example of industry practice contradicting the standard HTTP/1.0 specification (RFC 1945), which required the client to perform a temporary redirect (the original describing phrase was "Moved Temporarily"), but popular browsers implemented it as a 303 See Other
HTTP 303
The HTTP response status code 303 See Other is the correct manner in which to redirect web applications to a new URI, particularly after an HTTP POST has been performed....

 , i.e. changing the request type to GET regardless of what it had been originally. Therefore, HTTP/1.1 added status codes 303 and 307 to disambiguate between the two behaviours. However, the majority of Web applications and frameworks still use the 302 status code as if it were the 303.

This status code should be used with the location
HTTP location
The HTTP Location header is returned in responses from an HTTP server under two circumstances:1. To ask a web browser to load a different web page. It is passed as part of the response by a web server when the requested URI has:* Moved temporarily, or...

header.

Example

Client request:

GET /index.html HTTP/1.1
Host: www.example.com

Server response:

HTTP/1.1 302 Found
Location: http://www.iana.org/domains/example/
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK