ARCHIVE / What are the HTTP code types?

Each HTTP code consists of a three-digit number with the leading digit indicating the type of response being sent.  Codes starting with 1 are informative in nature, such as an indication from a web server that a web client should complete its request.  Codes starting with 2 are used to indicate that a request has been received and accepted, such as when accessing this web page which returned a code of 200.  Codes starting with 3 are used to indicate to a web client that the browser should refer to another source for the requested information.  Codes starting with 4 are used to indicate an error on the part of the requester, such as the well-known 404 page not found error.  Codes starting with 5 are used to indicate an error on the part of the web server, such as an HTTP 500 error used to indicate when a script or application generating the result was unable to be run.

last updated 2007.09.30



Terms of Use · Privacy Policy ©2021