Monday, March 27, 2006
Put simplistically, an HTML status code is a three digit code sent to your browser from the server of the page you are trying to view. You will probably have seen "404 page not found" which is the most common example of a status code. The first digit of the code determines the group to which it belongs:
- 1xx - informational codes
- 2xx - success codes
- 3xx - redirection codes
- 4xx - client error codes e.g. errors originating from the user
- 5xx - server error codes
The most common ones you are likely to see are:
- 200 - ok
- 301 - moved permanently
- 302 - moved temporarily
- 400 - bad request e.g. the server did not understand what you asked for!
- 401 - unauthorised
- 403 - forbidden
- 404 - not found
- 500 - internal server error
- 503 - service unavailable - can be due to server overload
For a complete list of all error codes, see
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.htmlLabels: internet
