Website Status Code Definitions

HTTP status codes were established by the World Wide Web Consortium (W3C) in 1992, as a part of the HTTP 0.9 spec. The numbers are just basically database codes so the database administrator can understand and fix the error faster than having the text version of the error explaining it.

If you say 404 to a database programmer, he/she will understand FASTER than if you say "Page Not Found". In the programming world... speed is EVERYTHING. See below for common error codes seen by web designers and their users.

Basic Overview:
The Numbers - database language for the programmer to understand
The Text Message Used - human language so the user can understand the error

Please note:
URI is short for Universal Resource Identifier

301 = Moved Permanently
The requested resource has been assigned a new permanent URI and any future references to this resource SHOULD use one of the returned URIs. This response is cacheable unless indicated otherwise. The new permanent URI SHOULD be given by the Location field in the response.

If the 301 status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued.

401 = Unauthorized
The request requires user authentication. The response MUST include a WWW-Authenticate header field containing a challenge applicable to the requested resource and MAY repeat the request with a suitable Authorization header field.

403 = Forbidden
The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the server does not wish to make this information available to the client, the status code 404 (Not Found) can be used instead.

404 = Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.

Please note:
URI is short for Universal Resource Identifier

All information provided above are snippets of full-explanations found at the W3C. Please visit the Protocols section of the W3C for more Status Code Definitions.

No comments:

Post a Comment