Table of Contents
About
The status line or response line is the first line in the response message .1.
Status line contents
It consists of three items:
- The HTTP version number, showing the HTTP specification to which the server has tried to make the message comply
- A status code , which is a three-digit number indicating the result of the request
- A reason phrase , also known as status text, which is human-readable text that summarises the meaning of the status code
Example
An example of a response line is:
HTTP/1.1 200 OK
In this example:
- the HTTP version is HTTP/1.1
- the status code is 200
- the reason phrase is OK
Anki
Links
References
IBM. “status line”. Available at: https://www.ibm.com/docs/en/cics-ts/6.x?topic=protocol-http-responses . (Accessed: ). ↩︎