NAME: 孙浩
ID:2024141530052
# 一. The Basic HTTP GET/response interaction

# 1.Is your browser running HTTP version 1.0 or 1.1? What version of HTTP is the server running?
HTTP 版本是 1.1;HTTP 版本是 1.1
# 2.What languages (if any) does your browser indicate that it can accept to the server?
Zh-CN 中文
# 3.What is the IP address of your computer? Of the gaia.cs.umass.edu server?
我的 IP 是 10.193.239.245;服务器 IP 是 128.119.245.12
# 4.What is the status code returned from the server to your browser?
200 OK

# 5.When was the HTML file that you are retrieving last modified at the server?
最后修改是在 Tue,28 Oct 2025 05:59:01 GMT
# 6.How many bytes of content are being returned to your browser?
128bytes
# 7.By inspecting the raw data in the packet content window, do you see any headers within the data that are not displayed in the packet-listing window? If so, name one.
有的,比如说 ETag
# 二.The HTTP CONDITIONAL GET/response interaction

# 8.Inspect the contents of the first HTTP GET request from your browser to the server. Do you see an “IF-MODIFIED-SINCE” line in the HTTP GET?
没有看到 IF-MODIFIED-SINCE

# 9.Inspect the contents of the server response. Did the server explicitly return the contents of the file? How can you tell?
可以直接看到返回的文件内容

# 10.Now inspect the contents of the second HTTP GET request from your browser to the server. Do you see an “IF-MODIFIED-SINCE:” line in the HTTP GET? If so, what information follows the “IF-MODIFIED-SINCE:” header?
可以看到 “IF-MODIFIED-SINCE:”,内容为 Tue, 28 Oct 2025 05:59:01 GMT
# 11.What is the HTTP status code and phrase returned from the server in response to this second HTTP GET? Did the server explicitly return the contents of the file? Explain.
返回 304 Not Modified, 没有明确返回文件内容,304 说明文件没有被修改,客户端可以使用本地缓存,无法看到文件内容