List of 3xx Redirection codes

  • 300 Multiple Choices
    Indicates multiple options for the resource that the client may follow. It, for instance, could be used to present different format options for video, list files with different extensions, or word sense disambiguation.

  • 301 Moved Permanently
    This and all future requests should be directed to the given URI.

  • 302 Found
    This is the most popular redirect code, but also an example of industrial practice contradicting the standard. HTTP/1.0 specification (RFC 1945) 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. 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.

  • 303 See Other** (since HTTP/1.1)
    The response to the request can be found under another URI using a GET method. When received in response to a PUT, it should be assumed that the server has received the data and the redirect should be issued with a separate GET message.

  • 304 Not Modified
    Indicates the resource has not been modified since last requested. Typically, the HTTP client provides a header like the If-Modified-Since header to provide a time against which to compare. Utilizing this saves bandwidth and reprocessing on both the server and client.

  • 305 Use Proxy** (since HTTP/1.1)
    Many HTTP clients (such as Mozilla and Internet Explorer) don’t correctly handle responses with this status code, primarily for security reasons.

  • 306 Switch Proxy
    No longer used.

  • 307 Temporary Redirect** (since HTTP/1.1)
    In this occasion, the request should be repeated with another URI, but future requests can still use the original URI. In contrast to 303, the request method should not be changed when reissuing the original request. For instance, a POST request must be repeated using another POST request.