HTTP Status Codes Definitions

When a browser (client) makes an HTTP request to a webserver the server will give a response, assuming that this server is up and running and the request is not denied by any firewall or similar. The response contains a lot information. This can be the contents of the requested page, but it doesn't necessarily have to be like that. The response will always contain a status code indicating what kind of response is returned. The response is a result of the request and can contain information why the response is not as expected when errors occur.

Code categories

The HTTP Status Codes are devided into five categories as presented below. The codes are listed per category.

Informational 1xx
100Continue
101Switching Protocols
 
Successful 2xx
200OK
201Created
202Accepted
203Non-Authoritative Information
204No Content
205Reset Content
206Partial Content
 
Redirection 3xx
300Multiple Choices
301Moved Permanently
302Found
303See Other
304Not Modified
305Use Proxy
306(Unused)
307Temporary Redirect
 
Client Error 4xx
400Bad Request
401Unauthorized
402Payment Required
403Forbidden
404Not Found
405Method Not Allowed
406Not Acceptable
407Proxy Authentication Required
408Request Timeout
409Conflict
410Gone
411Length Required
412Precondition Failed
413Request Entity Too Large
414Request-URI Too Long
415Unsupported Media Type
416Requested Range Not Satisfiable
417Expectation Failed
 
Server Error 5xx
500Internal Server Error
501Not Implemented
502Bad Gateway
503Service Unavailable
504Gateway Timeout
505HTTP Version Not Supported

Links

Contact the author: Send an electronic mail to: pajtroon@dds.nl.
Peter's ICQ Number is: #3900785.

This page: Copyright © 2005 Peter A. J. Troon

Note: This page is part of the Peter Troon Site.