HTTP message body
After the HTTP headers, the message body is placed. It actually contains the data that is transmitted in the HTTP request. This data can contain HTML text of the page, CSS text of the style file, binary data of the image, and so on.
As an example, let's look at the contents of an HTTP message:
HTTP/1.1 200 OK
Connection: Keep-Alive
Content-Encoding: gzip
Content-Length: 2263
Content-Type: text/html; charset=UTF-8
Date: Tue, 27 Sep 2022 13:04:13 GMT
Keep-Alive: timeout=5, max=100
Server: Apache/2.4.46 (Ubuntu)
Vary: Accept-Encoding
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
text
</body>
</html>
In the code above, find the start line, headers, and response body.