When the server responds to your request, it will provide a status code, some response headers, and the content of the resource in most cases. Staying with our previous request for http://www.example.com/index.html, you will be able to see what a typical response looks like, section by section.
What do HTTP responses look like?
Status line
The first line of an HTTP response is called the status line and typically looks like this:
HTTP/1.1 200 OK
First, it tells you what Version of the HTTP protocol the server is using. This should always match the version sent by the client HTTP request. In this case, our server is using version 1.1. The next portion is the HTTP status code. This is code used to indicate the status of the...