As for the HTTP response, it is the HTTP response of a web server to an HTTP request from a web browser. Communication between a web client and a web server always takes place via a previously established TCP connection.
In the request and response, the browser's requests and responses to the web server are transmitted in HTTP headers. The HTTP response to the HTTP request always contains the web page information that was requested and the HTTP status code. They consist of textual information, are encoded in ASCII and can include several lines. This information is used to indicate whether the HTTP request was successfully responded to. HTTP responses are divided into five status code classes.
Class 1 includes informative responses. Status code 2 responses are successful responses. The third class is about redirects to other web addresses. The fourth class is about client errors such as bad requests, and the fifth class is about server errors.