Ethernet实验之HTTP(二)

本文详述了一次使用Ethereal进行HTTP实验的过程,关注于GET请求和浏览器缓存的交互。实验内容包括清除浏览器缓存,通过Ethereal观察HTTP请求与响应,特别讨论了'IF-MODIFIED-SINCE'头字段在第一次和第二次请求中的作用,以及304 Not Modified状态码的含义。
摘要由CSDN通过智能技术生成

上一次完成了第一部分的实验,这次来做一下第二部分的内容

一、实验内容

大意是我们首先清除一下浏览器的缓存,然后开启Ethereal,首先访问提供的网址,再刷新一次,再停止抓包

二、关于问题

Answer the following questions:
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?
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?
11. What is the HTTP status code and phrase returned from the server in response to
this second HTTP GET? Did the server

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值