计算机网络实验1 - 图文

2020-04-21 03:50

计算机网络实验报告一

HTTP实验

姓名: 学号:

班级:10级计科一班

Answers the following questions.

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

Answer:(1)Browser:Version1.1 As shown 1:

(2) Server:Version1.1

As shown 2:

2. What languages (if any) does your browser indicate that it can accept to the server? Answer:Simply chinese As shown3: 3. What is the IP address of your computer? Of the gaia.cs.umass.edu server? Answer:(1) The IP address of my computer: 10.2.137.17

(2) The IP address of Server 128.119.245.12 As shown4:

4. What is the status code returned from the server to your browser? Answer: the status code returned from the server to my browser is 200. As shown5:

5. When was the HTML file that you are retrieving last modified at the server? Answer:As picture6

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

Answer:As shown7

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. Answer: (1)No.

(2) As shown8

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:No.

9. Inspect the contents of the server response. Did the server explicitly return the contents of the file? How can you tell? Answer:No.

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. As shown9:

11. What is the HTTP status code and phrase returned from the server in response to this second HTTP GET? Did the server explicitly return the contents of the file?

Answer:(1)The HTTP status code and phrase returned from the server is 404.The

Server didn't return the contents of the file since the browser loaded it. As shown10:

12. How many HTTP GET request messages were sent by your browser? Answer:Three. Asshown10:

13. How many data-containing TCP segments were needed to carry the single HTTP response?

Answer:Four data-containing TCP segments were needed .

As shown11:

14. What is the status code and phrase associated with the response to the HTTP GET request?

Answer:The status code and phrase associated with the response to the HTTP GET request is 200 OK.. As shown11:

15. Are there any HTTP status lines in the transmitted data associated with a TCP-induced “Continuation”?

Answer:No,the new version integrate all the packet content .

16. How many HTTP GET request messages were sent by your browser? To which Internet addresses were these GET requests sent? Answer:As shown12

17. Can you tell whether your browser downloaded the two images serially, or

whether they were downloaded from the two web sites in parallel?

Answer: Is parallel。Because the browser issued after the first, but before he could get the

corresponding picture has sent second。

As shown13

HTTP Authentication

18. What is the server’s response (status code and phrase) in response to the initial HTTP GET message from your browser? Answer:As shown14

19. When your browser’s sends the HTTP GET message for the second time, what new field is included in the HTTP GET message?

Answer:As shown15


计算机网络实验1 - 图文.doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:计算机数据结构习题1 附答案

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: