HTTP - 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:  HTTP

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

List Of HTTP Status Codes
... The following 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 ...
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 change of address) ... The HTTP standard defines several status codes for redirection 300 multiple choices (e.g ...

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)

    Recent studies that have investigated maternal satisfaction have found this to be a better prediction of mother-child interaction than work status alone. More important for the overall quality of interaction with their children than simply whether the mother works or not, these studies suggest, is how satisfied the mother is with her role as worker or homemaker. Satisfied women are consistently more warm, involved, playful, stimulating and effective with their children than unsatisfied women.
    Alison Clarke-Stewart (20th century)