Friday, July 20, 2012
HTTP Status Codes List And Explanation. What is Http Status Code? It's a response returned by a server as the result of a page request. It's such a notice informing that the page requested does not exist on the server, not found, successfull, or so forth. There are many status codes like 404, 200, 503, etc. Here i try to list all of them, maybe not realy complete.

*100 - It means the requestor should continue with the request. The server returns this code to indicate that it has received the first part of a request and is waiting for the rest.
*101 - It means the requestor has asked the server to switch protocols and the server is acknowledging that it will do so.
*200 - It means the server successfully processed the request. Generally, this means that the server provided the requested page. As such you won't find this status code on your screen.
*201 - It means the request was successful and the server created a new resource.
*202 - It means the server has accepted the request, but hasn't yet processed it.
*203 - It means the server successfully processed the request, but is returning information that may be from another source.
*204 - It means the server successfully processed the request, but isn't returning any content.
*205 - It means the server successfully proccessed the request, but isn't returning any content. This response requires that the requestor reset the document view, like clearing a form for new input for example.
*206 - It means the server successfully processed a partial GET request.
*300 - It means the server has several actions available based on the request. The server may choose an action based on the requestor (user agent) or the server may present a list so the requestor can choose an action.
*301 - It means the requested page has been permanently moved to a new location. When the server returns this response (as a response to a GET or HEAD request), it automatically forwards the requestor to the new location. You should use this code to let Googlebot know that a page or site has permanently moved to a new location.
*302 - It means the server is currently responding to the request with a page from a different location, but the requestor should continue to use the original location for future requests. This code is similar to a 301 code that which is for a GET or HEAD request, it automatically forwards the requestor to a different location.
*303 - The server returns this code when the requestor should make a separate GET request to a different location to retrieve the response. For all requests other than a HEAD request, the server automatically forwards to the other location.
*304 - It means the requested page hasn't been modified since the last request. When the server returns this response, it doesn't return the contents of the page. You should configure your server to return this response (called the If-Modified-Since HTTP header) when a page hasn't changed since the last time the requestor asked for it. This saves you bandwidth and overhead because your server can tell Googlebot that a page hasn't changed since the last time it was crawled.
*305 - It means the requestor can only access the requested page using a proxy. When the server returns this response, it also indicates the proxy that the requestor should use.
*307 - It means the server is currently responding to the request with a page from a different location, but the requestor should continue to use the original location for future requests. This code is similar to a 301 status code.
*400 - It means the server didn't understand the syntax of the request.
*401 - It means the request requires authentication. The server might return this response for a page behind a login.
*403 - It means the server is refusing the request. If you see that Googlebot received this status code when trying to crawl valid pages of your site (you can see this on the Crawl Errors page under Health in Google Webmaster Tools), it's possible that your server or host is blocking Googlebot's access.
*404 - It means the server can't find the requested page. For instance, the server often returns this code if the request is for a page that doesn't exist on the server. If you don't have a robots.txt file on your site and see this status on the Blocked URLs page in Google Webmaster Tools, this is the correct status. However, if you do have a robots.txt file and you see this status, then your robots.txt file may be named incorrectly or in the wrong location. It should be at the top-level of the domain and named robots.txt. If you see this status for URLs that Googlebot tried to crawl, then Googlebot likely followed an invalid link from another page (either an old link or a mistyped one).
*405 - It means the method specified in the request is not allowed.
*406 - It means the requested page can't respond with the content characteristics requested.
*407 - This status code is similar 401 (Not authorized), but it specifies that the requestor has to authenticate using a proxy. When the server returns this response, it also indicates the proxy that the requestor should use.
*408 - It means the server timed out waiting for the request.
*409 - It means the server encountered a conflict fulfilling the request. The server must include information about the conflict in the response. The server might return this code in response to a PUT request that conflicts with an earlier request, along with a list of differences between the requests.
*410 - The server returns this response when the requested resource has been permanently removed. It is similar to a 404 (Not found) code, but it's sometimes used in the place of a 404 for resources that used to exist but no longer do.
*411 - It means the server won't accept the request without a valid Content-Length header field.
*412 - It means the server doesn't meet one of the preconditions that the requestor put on the request.
*413 - It means the server can't process the request because it is too to handle.
*414 - It means the requested URI (typically a URL) is too long to process.
*415 - It means the request is in a format not support by the requested page.
*416 - The server returns this status code if the request is for a range not available for the page.
*417 - It means the server can't meet the requirements of the Expect request-header field.
*500 - It means the server encountered an error and can't fulfill the request.
*501 - It means the server doesn't have the functionality to fulfill the request. For instance, the server might return this code when it doesn't recognize the request method.
*502 - It means bad gateway/the server was acting as a gateway or proxy and received an invalid response from the upstream server.
*503 - It means the server is currently unavailable (because it is overloaded or down for maintenance). Generally, this is a temporary state.
*504 - It means Gateway timeout/the server was acting as a gateway or proxy and didn't receive a timely request from the upstream server.
*505 - It means the server doesn't support the HTTP protocol version used in the request.

That's all guys. Who knows you look for those status codes tomorrow.

0 comments:

Post a Comment