HTTP stands for hypertext transfer protocol. It is the foundation for the worldwide web. You use HTTP every day to load different websites by clicking on hyperlinks. An HTTP request involves you sending a request to the server. The server then responds with a response. It allows you to communicate data on the world wide web.
An HTTP request involves a client sending a request to the server. The server then responds with a message. The status codes sent back by the server in response to client requests are called HTTP codes. The status codes are from IETF Request For Comments (RFCs).
The HTTP codes are a way of communication between your browser and the server. They can communicate if everything is as it should be or if there is something wrong. The status codes can help diagnose errors quickly.
1xx – Informational responses. This status code indicates that the server is processing your request. 2xx – Successful. This indicates that your request was received and accepted. 3xx – Redirection. This shows that your request was received, but you got redirected somewhere else. 4xx – Client error. This means that that you made some syntax error, or the page does not exist. 5xx – Server errors. This indicates that the server failed to respond to your valid request.
HTTP Status Code 401 - Unauthorized HTTP Status Code 404 - Not Found HTTP Status Code 500 - Internal Server Error HTTP Status Code 502 - Bad Gateway HTTP Status Code 301 - Moved Permanently HTTP Status Code 302 - Found HTTP Status Code 410 - Gone
HTTP Status Code 200 – OK is a standard response against a successful HTTP request. The response depends on whether the POST or GET method was used. The POST request returns an entity because of an action. The GET request returns an entity that corresponds to the requested source.
HTTP Status Code 301 – Moved Permanently. This indicates that the requested URL is directed towards a different source. The 301 status code can be used for pages that are no longer available. This helps redirect your request to some home page rather than an error page.
HTTP Status Code 302 – Found is the same as 301 with a slight difference. 302 temporarily redirects your request. In contrast to 301, the 302 status code does not inform search engines to update the index.
HTTP Status Code 503 – Service Unavailable indicates that the server cannot handle requests. This is because the server is down for maintenance, or it is overloaded with requests. 503 is a temporary state.
All rights reserved. Please consider the information, scripts and instructions carefully before using it yourself. Make sure you have ample backups! The information, scripts and instructions are provided without warranty. Consult a professional if you are unsure. Anto does not speak on behalf of any company and our opinions are our own.