《计算机网络自顶向下方法试验三报告.doc》由会员分享,可在线阅读,更多相关《计算机网络自顶向下方法试验三报告.doc(5页珍藏版)》请在三一文库上搜索。
1、陕西师范大学计算机网络实验报告年级: 2010级 姓名:陈翠萍 学号: 41012227 实验日期: 2012.9.24 实验名称:Wireshark Lab: HTTP1至7题总的截图:1. Is your browser running HTTP version 1.0 or 1.1? What version of HTTP is the server running? Answer: Both are running HTTP 1.1 2. What languages (if any) does your browse r indicate that it can accept to
2、 the server? Answer:zh-cn3. What is the IP address of your computer? Of the gaia. server? Answer:My IP address is 10.2.136.49and the servers is 128.119.245.12 4. What is the status code returned from the server to your browser? Answer:截图HTTP/1.1 200 OK (text/html)5. When was the HTML you are retriev
3、ing last modified at the server? Answer: 截图:Last-Modified: Mon, 24 sep 2012 12:44:01 GMT6. How many bytes of content are being returned to your browser? Answer:截图Content-Length: 128 7. By inspecting the raw data in the p acket content window, do you see any headers within the data that are not displ
4、ayed in the packet-lis ting window? If so, name one. Answer: No all of the headers can be found in the raw data. 8 至11题截图: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? Answer: No9. Inspect the contents o
5、f the server response. Did the serv er explicitly return the contents of the file? How can you tell? Answer:Yes, because we can see the contents in the Line-based text data field.10. Now inspect the contents of the second HTTP GET request from your browser to the server. Do you see an “IF-MODIFIED-S
6、INCE:” line in the HTTP GET? If so, what information follows the “IF-MODIFIED-SINCE:” header?Answer: 截图:Yes. The information following is: mon, 24 sep 2012 12:44:01 GMT which is the date of the last modification of the the previous get request11. What is the HTTP status code and phrase returned from
7、 the server in response to this second HTTP GET? Did th e server explicitly return the contents of the file? Explain.Answer:截图:The status code and phrase returned from the server is HTTP/1.1 404 Not Modified. The server didnt return the contents of the the browser loaded itfrom its cache.5 / 5文档可自由编辑打印