HTTP/1.0 Response - Explanation

Dev Singh. May 17, 2018 Comments

HTTP/1.0 Response

Here is an example of an HTTP response from a server to a client request:

HTTP/1.0 200 OK 
Date: Fri, 08 Aug 2003 08:12:31 GMT 
Server: Apache/1.3.27 (Unix) 
MIME-version: 1.0 
Last-Modified: Fri, 01 Aug 2003 12:45:26 GMT 
Content-Type: text/html 
Content-Length: 2345 
** a blank line * 
<HTML> ...

The server agrees to use HTTP version 1.0 for communication and sends the status 200 indicating it has successfully processed the client's request. It then sends the date and identifies itself as an Apache HTTP server. It also indicates it is using MIME version 1.0 to describe the information it is sending, and includes the MIME-type of the information about to be sent in the "Content-Type:" header. Finally, it sends the number of characters it is going to send, followed by a blank line and the data itself. Client and server headers are RFC 822 compliant mail headers. A client may send any number of (comma-separated or multiple) "Accept:" headers and the server is expected to convert the data into a form the client can accept.

  • http
  • http-response
  • http-status-codes