HTTP status codes | Redirection Responses

HTTP status codes are a conversation between your browser and the site server. The server gives responses to the browser’s request in the form of a three-digit code known as HTTP status codes. The HTTP status codes are categorized into five sections which are listed below.

  • Informational responses (100–199)
  • Successful responses (200–299)
  • Redirects (300–399)
  • Client errors (400–499)
  • Server errors (500–599)

Redirection Responses:

  • 300 Multiple Choice: It is a link list. This request can have maximum five possible responses. The user can choose one of the links and go to the location.
    Status:

    300 Multiple Choice
  • 301 Moved Permanently: The 301 moved permanently means that the requested resource has permanently been moved to a new URL. The new URL is given in the response.
    Status:

    301 Moved Permanently
  • 302 Found: The 302 Found means that the requested resource has been moved temporarily to a new URL. The same URL should be used by visitors in a future request.
    Status:



    302 Found
  • 303 See Other: The requested resource can be found under an alternate URL. This is sent by the server to direct the visitor to another URL to get the requested page.
    Status:

    303 See Other
  • 304 Not Modified: This response indicated that the requested page has not been modified since last requested by the visitor.
    Status:

    304 Not Modified
  • 305 Use Proxy: 305 Use Proxy is a deprecated status code. This response is sent by the server so that the requested URL can be accessed by the proxy mentioned in the location header.
    Status:

    305 Use Proxy
  • 306 Switch Proxy: This response code is no longer in use. But, the code is reserved as it was used in the previous version.
    Status:

    306 Switch Proxy
  • 307 Temporary Redirect: The 307 temporary redirect means that the requested resource has been moved temporarily to a new URL. It shares the same semantics as of 302 Found, with the exception that the user agent must not change the HTTP method used.
    Status:

    307 Temporary Redirect

Supported Browsers: The browsers compatible with the HTTP status code Redirection Responses are listed below.

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Safari
  • Opera
My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.