The HTTP RESPONSE message
Consider the figure below, where the server is sending a HTTP RESPONSE message back the client.
Suppose the server-to-client HTTP RESPONSE message is the following:
HTTP/1.1 404 Not Found
Date: Sat, 01 Apr 2023 09:51:03 +0000
Server: Apache/2.2.3 (CentOS)
Keep-Alive: timeout=44, max=68
1. Is the response message using HTTP 1.0 or HTTP 1.1?
2. Was the server able to send the document successfully? Yes or No
3. How big is the document in bytes?
4. Is the connection persistent or nonpersistent?
5. What is the type of file being sent by the server in response?
6. What is the name of the server and its version? Write your answer as server/x.y.z
7. Will the ETag change if the resource content at this particular resource location changes? Yes or No
1. The response is using HTTP/1.1
2. Since the response code is 404 Not Found, the document was NOT received successfully.
3. The document is 2242 bytes.
4. The connection is persistent.
5. The file type the server is sending is image/html.
6. The name and version of the server is Apache/2.2.3
7. Yes. The Etag is a string that uniquely identifies a resource. If a resource is updated, the Etag will change.
The answer was: HTTP/1.1
The answer was: No
The answer was: 2242
The answer was: persistent
The answer was: image/html
The answer was: Apache/2.2.3
The answer was: Yes