HTTP Responses

HTTP Responses

  • 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 request

  • An HTTP response contains:

    • A status line

    • A series of HTTP headers, or header fields

    • A message body, which is usually needed