计算机网络实验HTTP.doc_第1页
计算机网络实验HTTP.doc_第2页
计算机网络实验HTTP.doc_第3页
计算机网络实验HTTP.doc_第4页
计算机网络实验HTTP.doc_第5页
已阅读5页,还剩8页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

. . . .1. 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 IP address of your computer? Of the server?答:我电脑的IP地址是6, 服务器的地址是2。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 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. 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 the 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-Since: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. Retrieving 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 associated 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 addresses were these GET requests sent?答:有4个HTTP GET请求,Internet addresses分别是:2,4,0,2 17. Can you tell whether your browser downloaded the two images serially, orwhether they were downloaded from the two web sites in parallel? Explain.答:串行,因为在两个请求的响应消息中,端口号是不同的。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。欢迎您的光临,Word文档下载后可修改编辑.双击可删除页眉页脚.谢谢!希望您提出您宝贵的意见,你的意见是我进步的动力。赠语; 1、如果我们做与不做都会有人笑,如果做不好与做得好还会有人笑,

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论