计算机网络自顶向下实验3 HTTP
陕西师范大学 计算机网络 实验报告
年级: 2010级 姓名:贾璐萍 学号:
实验日期: 2012/10/14
Part 1:
1. Is your browser running HTTP version 1.0 or 1.1? What version of HTTP is the server running?
您的浏览器中运行的HTTP版本1.0或1.1 在服务器上运行的是什么版本的HTTP2. What languages (if any) does your browser indicate that it can accept to the server?
您的浏览器显示什么样的语言(如果有的话),它可以接受的服务器?3. What is the IP address of your computer? Of the server?
您的计算机的IP地址是什么? 服务器4. What is the status code returned from the server to your browser?
您的浏览器从服务器返回的状态码是什么? 5. When was the HTML file that you are retrieving last modified at the server?
您在服务器上检索HTML文件最近一次修改是什么时候6. How many bytes of content are being returned to your browser?
多少个字节的内容被返回到浏览器?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.
通过检查原始数据包的内容窗口,你看到任何标头内的数据数据包列表窗口中显示?如果是这样,命名一个。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?
检查第一个HTTP GET从浏览器到服务器。你看到一个“IF-MODIFIED-SINCE “在
HTTP GET行中吗?
Inspect the contents of the server response. Did the server explicitly return the contents of the file?
How can you tell?
检查服务器响应的内容。服务器返回文件的内容吗?你怎么看出来的?
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?
现在检查第二个HTTP GET浏览器服务器请求的内容。你看到一个“IF-MODIFIED-SINCE “HTTP GET
行中吗? 如果,什么信息遵循“IF-MODIFIED-SINCE: “header
Yes,
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? Explain.
什么是HTTP状态代码和短语从第二个HTTP GET服务器返回的响应?明确了活塞的服务器返回文件的内容吗?解释
12. How many HTTP GET request messages were sent by your brows