资源描述
陕西师范大学计算机网络实验报告年级: 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 the server? Answer:zh-cn3. What is the IP address of your computer? Of the gaia.c s.umass.edu 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 file that you are retrieving 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 displayed 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 of 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-SINCE:” 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 file from the previous get request11. What is the HTTP status code and phrase returned from 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 file since the browser loaded itfrom its cache.
展开阅读全文