“21天好习惯” 第一期-8

WireShark 实验二 HTTP

1. The Basic HTTP GET/response interaction

1.1.Is your browser running HTTP version 1.0 or 1.1? What version of HTTP is the server running?

GET:

 

OK:

 

As can be seen from the figure, the browser is running HTTP version 1.1: http / 1.1   GET /wireshark-labs/HTTP-wireshark-file1.html HTTP/1.1\r\n

Server running:   HTTP/1.1 200 OK\r\n

1.2.What languages (if any) does your browser indicate that it can accept to the server?

 

Accept-Language: zh-CN,zh;q=0.9\r\n

1.3. What is the IP address of your computer? Of the gaia.cs.umass.edu server?

 

gaia.cs.umass.edu’s IP address:128.119.245.12

      

 

The Internet address of my computer is 192.168.43.41.

1.4. What is the status code returned from the server to your browser?

 

HTTP/1.1 200  OK (text/html)

HTTP/1.1 404 Not Found(text/html)

HTTP/1.1 304 Not Modified

1.5. When was the HTML file that you are retrieving last modified at the server?

 

Last_Modified:Tue, 21 Sep 2021 05:59:01 GMT\r\n

1.6.How many bytes of content are being returned to your browser?

Content-length:128\r\n

 

1.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.

There are also host field, connection field, upgrade secure requests field, user agent field, accept field and accept encoding field in the HTTP request message.

 

There are also date field, server field, Etag field,Connection field, etc. in the HTTP response message.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值