计算机网络实验1
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
计算机网络实验报告一
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?
Answe r:(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? Answe r:Simply chinese As shown3:
3. What is the IP address of your computer? Of the server? Answe r:(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?
Answe r: 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?
Answe r:As picture6
6. How many bytes of content are being returned to your browser?
Answe r: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. Answe r: (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?
Answe r:No.
9. Inspect the contents of the server response. Did the server explicitly return the contents of the file? How can you tell?
Answe r: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?
Answe r: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? Answe r:(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?
Answe r:Three.
Asshown10:
13. How many data-containing TCP segments were needed to carry the single HTTP
response?
Answe r:Four d ata-containing TCP segments were needed .
As shown11:
14.What is the status code and phrase associated with the response to the HTTP GET
request?
Answe r:T he 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”?
Answe r:No,t he 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?
Answe r: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?