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)
- 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.
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.
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.
- 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.
303 See Other
- 304 Not Modified: This response indicated that the requested page has not been modified since last requested by the visitor.
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.
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.
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.
307 Temporary Redirect
Supported Browsers: The browsers compatible with the HTTP status code Redirection Responses are listed below.
- Google Chrome
- Internet Explorer
- HTTP status codes | Successful Responses
- HTTP status codes | Informational Responses
- HTTP status codes | Server Error Responses
- HTTP status codes | Client Error Responses
- How To Troubleshoot Common HTTP Error Codes ?
- HTML | DOM Window status Property
- Express.js res.status() Function
- How to create Covid19 Country wise status project using REST API ?
- ASP Status Property
- HTML Hex Color Codes
- HTTP Cookies in Node.js
- HTTP GET and POST Methods in PHP
- PHP | $_FILES Array (HTTP File Upload variables)
- HTTP headers | Location
- HTTP headers | User-Agent
- HTTP headers | Link
- How to add http:// if it doesn't exists in the URL in PHP?
- How to send HTTP response code in PHP?
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. 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.