HTTP for HTML Authors, Part III - HTML with Style | 6 |
WebReference    HTTP for HTML Authors, Part III  Error response
codes  Together with the redirect response codes, these response
codes give you a good repertoire with which to describe the
outcome of form submission. But what if everything doesn't go
according to plan with a request and there's some sort of error
producing the requested resource?  HTTP defines several error
codes for this case. There are two kinds of errors: Client
errors and server errors. A client error indicates that the user
agent did something wrong: issued a malformed HTTP request,
tried to access an unauthorized resource or something similar.
Server errors indicate that the server encountered an error when
processing a request.  Much like 201 Created and 202 Accepted,
these codes are meant to be associated with a document
describing the specific nature of the error to the user. It's a
good idea to supply contact details for support or links to main
entry points into your site with