1、计算机网络实验HTTP1. The Basic HTTP GET/response interaction1. Is your browser running HTTP version 1.0 or 1.1? What version of HTTP is theserver running?答:是的,是1.1版。2. What languages (if any) does your browser indicate that it can accept to theserver?答: Accept-Language:zh-CN,说明用户想得到该对象的中文版本。3. What is the
2、IP address of your computer? Of the gaia.cs.umass.edu server?答:我电脑的IP地址是10.2.136.16, 服务器的地址是128.119.245.12。4. What is the status code returned from the server to your browser?答:状态码为:HTTP/1.1 200 0K 。5. When was the HTML file that you are retrieving last modified at the server?答:Last-Modified:Tue,13
3、Sep 2011 12:31:01 GMT。6. How many bytes of content are being returned to your browser?答:Content-Length:128。7. By inspecting the raw data in the packet content window, do you see any headerswithin the data that are not displayed in the packet-listing window? If so, nameone.答:在原始资料里,并不是所有的标题都可以被发现。2.
4、The HTTP CONDITIONAL GET/response interaction8. Inspect the contents of the first HTTP GET request from your browser to theserver. 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 thecontents of th
5、e file? How can you tell?答:是的,我们可以在Line-based text data栏看见返回的text文件内容。10. Now inspect the contents of the second HTTP GET request from your browser tothe server. Do you see an “IF-MODIFIED-SINCE:” line in the HTTP GET? Ifso, what information follows the “IF-MODIFIED-SINCE:” header?答:是的,If-Modified-S
6、ince:Tue, 13 Sep 2011 13:25:01 GMT。11. What is the HTTP status code and phrase returned from the server in response tothis second HTTP GET? Did the server explicitly return the contents of the file?Explain.答:返回的状态码和相应状态信息是: 304 not modified;服务器没有明确的返回所请求对象的内容,因为是缓存器通过使用该对象,而向浏览器转发的该对象的拷贝。3. Retrievi
7、ng Long Documents12. How many HTTP GET request messages were sent by your browser?答:有4个HTTP GET请求信息。13. How many data-containing TCP segments were needed to carry the single HTTPresponse?答:需要4个data-containing TCP segments ,分别是1460,1460,1460,423字节,总共4803字节。14. What is the status code and phrase assoc
8、iated with the response to the HTTP GETrequest?答:状态码和相应状态信息是:200 OK。15. Are there any HTTP status lines in the transmitted data associated with a TCP-induced“Continuation”?答;没有。4. HTML Documents with Embedded Objects16. How many HTTP GET request messages were sent by your browser? To whichInternet a
9、ddresses were these GET requests sent?答:有4个HTTP GET请求,Internet addresses分别是:128.119.245.12,165.193.140.14,128.119.240.90,128.119.245.12 17. Can you tell whether your browser downloaded the two images serially, orwhether they were downloaded from the two web sites in parallel? Explain.答:串行,因为在两个请求的响应
10、消息中,端口号是不同的。5 HTTP Authentication18. What is the servers response (status code and phrase) in response to the initialHTTP GET message from your browser?答:状态码和相应状态信息是:401 Authorization Required。19. When your browsers sends the HTTP GET message for the second time, whatnew field is included in the HTTP GET message?答:The new field是Authorization:Basic ZXRoLXN0dWRlbnRzOm5ldHdvcmtzrn。
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1