Status Line

About

The status line or response line is the first line in the response message .1.

Status line contents

It consists of three items:

  1. The HTTP version number, showing the HTTP specification to which the server has tried to make the message comply
  2. A status code , which is a three-digit number indicating the result of the request
  3. 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

References


  1. IBM. “status line”. Available at: https://www.ibm.com/docs/en/cics-ts/6.x?topic=protocol-http-responses . (Accessed: [2025-05-07 Wed 21:17]). ↩︎

Random Posts