Hypertext Transfer Protocol - Status Codes

Status Codes

See also: List of HTTP status codes

In HTTP/1.0 and since, the first line of the HTTP response is called the status line and includes a numeric status code (such as "404") and a textual reason phrase (such as "Not Found"). The way the user agent handles the response primarily depends on the code and secondarily on the response headers. Custom status codes can be used since, if the user agent encounters a code it does not recognize, it can use the first digit of the code to determine the general class of the response.

Also, the standard reason phrases are only recommendations and can be replaced with "local equivalents" at the web developer's discretion. If the status code indicated a problem, the user agent might display the reason phrase to the user to provide further information about the nature of the problem. The standard also allows the user agent to attempt to interpret the reason phrase, though this might be unwise since the standard explicitly specifies that status codes are machine-readable and reason phrases are human-readable.

Read more about this topic:  Hypertext Transfer Protocol

Other articles related to "status codes, status code, codes, code":

URL Redirection - Techniques - HTTP Status Codes 3xx
... the World Wide Web, a redirect is a response with a status code beginning with 3 that causes a browser to display a different page ... The different codes describe the reason for the redirect, which allows for the correct subsequent action (such as changing links in the case of code 301, a permanent ... The HTTP standard defines several status codes for redirection 300 multiple choices (e.g ...
List Of HTTP Status Codes
... is a list of Hypertext Transfer Protocol (HTTP) response status codes ... This includes codes from IETF internet standards as well as other IETF RFCs, other specifications and some additional commonly used codes ... The first digit of the status code specifies one of five classes of response the bare minimum for an HTTP client is that it recognises these five classes ...

Famous quotes containing the words codes and/or status:

    Thou hast a voice, great Mountain, to repeal
    Large codes of fraud and woe; not understood
    By all, but which the wise, and great, and good
    Interpret, or make felt, or deeply feel.
    Percy Bysshe Shelley (1792–1822)

    As a work of art it has the same status as a long conversation between two not very bright drunks.
    Clive James (b. 1939)