HTTP - Status Line

1 - About

The status line is the first line of a response that contains:

  • the version,
  • the returned status (that tells about success or failure of the request)
  • and a message of its own

3 - Example

  • In response to a get

HTTP/1.1 200 OK

  • In response to a get where the resource is not found 404

HTTP/1.1 404 Not Found

  • In a response to a request with the If-None-Match header

HTTP/1.1 304 Not Modified

  • redirect status code with the new location

HTTP/1.1 301 Moved Permanently
Location: https://new URL

  • In response to a CONNECT method

HTTP/1.1 200 Connection Established

Data Science
Data Analysis
Data Science
Linear Algebra Mathematics

Powered by ComboStrap