January 2019
Beginner
132 pages
3h 14m
English
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 response. Most of the time, you should see a status code of 200, indicating that the request was successful and a response body will follow. This is not always the case, and we will look deeper into HTTP status codes in the next section. The OK is a human-readable description of the status code, which is only used for your own reference.
Read now
Unlock full access