Updates HTTP: Error Codes you probably at least once in his life faced with such a situation: you enter the address of the site or go to the link, and in response, instead of the desired web page get a 404 page not found.But in the process of surfing the Internet, you can meet other HTTP status , about them and will be discussed in this article.

HTTP status (or to be more precise, status codes HTTP ) - is part of the server's response to your request.Typically, each accompanied by an explanation of the status of the English language.HTTP status allows the user to see how the server responded to his request, and based on that decide how to proceed.

HTTP error status is also called HTTP.This is only partly true, because there are five groups status codes HTTP , and from a failure to connect to the server is connected only two groups.HTTP statuses, starting with the number 4, according to an error on the part of the client (ie on your part).And if the first digit of the status - 5, then the problem is on the server side, and you

are not involved in it.

HTTP 4xx status usually indicates that your request has been any error that prevented the server to handle.For example, the code 400 Bad Request is invalid request.If the query syntax is incorrect, the server will not be able to dismantle it.

Error 401 Unauthorized evidence of unauthorized request.Access to certain documents can be granted only by entering username or password (or the access you have to be a registered user).If you are not registered or do not know the login / password, the server will return you to the error.If authentication takes place on the proxy server, the error code will 407 Proxy Authentication Required - Proxy Authentication Required.

error often occurs 403 Forbidden (Access Denied).This means that the server understand your request, but will not give you access.This usually happens when you want to go to the page, access to which is closed for ordinary users (for example, administrative partition or files .htaccess).The server administrator closes the access to the sections by using special configuration files.Also, the server can return this error when too many requests per IP-address.Try to go through a proxy or reconnect to the Internet if you have a dynamic IP.

Still, the most famous status code HTTP - 404 Not Found (page not found).This means that you either incorrectly typed the page address or the page that once housed at this location has been removed from the server.Quite often, website owners a creative approach to the design page 404. This is done mainly in order to prevent the user leaves the site, faced with an error.Usually on page 404 there is a link to the home page, the user can go back in place to close the tab or move to another site.

There are other HHTP status indicating an error of the client (405 of 417, with 422 of 424, 426 and 402 - the latest status is not used).Causes of errors are different, for example, the error 413 is too large, error 414 - too long URL, etc.There is even a joke status code HTTP 418 I'm a teapot (I - kettle), introduced as an April Fool's joke on the Internet Engineering Council (IETF).

If the request can not be processed through the fault of the server, you will return error code 5xx.Here you can not do anything, except to try to go to the page after a while.Often users may encounter an error 502 Bad Gateway (Bad Gateway).This means that the server acting as a gateway or proxy, received a message that the interim operation was performed successfully.If the server is acting as a gateway or proxy, did not wait for a response from an upstream server to complete the current request, an error is returned 504 Gateway Timeout (gateway not responding).

If the server for technical reasons (overload, maintenance) can not handle the request, it will return code 503 Service Unavailable , giving to understand that the service is not available.If a hosting provider for the site has introduced a limit on bandwidth consumption, and this limit is exceeded, an error will return 509 Bandwidth Limit Exceeded , talking about what bandwidth capacity has been exhausted.

Rarely you may run into errors 501 (Not implemented), 505 (Not supported version of HTTP), 506 (Option also agreed - experimental status code), 507 (overflow storage) and 510 (not extended).If any other internal server error code is returned 500 Internal Server Error .

If you know the basic HTTP status, you will not scare the strange messages that appear in place of the desired web page .They will help answer the question "Who is to blame?" (Client or server), and sometimes even to the question "What should I do?ยป

Updates HTTP: Error Codes
Comment