Table of Contents
About
An HTTP response is made by a server to a client. The aim of the response is to provide the client with the resource it requested, or inform the client that the action it requested has been carried out; or else to inform the client that an error occurred in processing its request1.
It is what the clients (e.g. browsers) receive from an Internet server in response/ answer to an HTTP request. They communicate valuable information based on what was requested/ asked for in the HTTP request.
Contents of an HTTP response
- A status line or status code
- A series of HTTP headers, or header fields
- A message body, which is usually needed
HTTP status code
HTTP response headers
Anki
Links
References
IBM. “HTTP response”. Available at: https://www.ibm.com/docs/en/cics-ts/6.x?topic=protocol-http-responses. (Accessed: ). ↩︎