1. Personal Information
Name: Jiang Haotian
Student ID: 201821121024
Class: calculated 1811
2. The establishment of the network topology
Establish a network topology deconstruction, this experiment, the network topology connected by a PC and a server components.
3. Configuration Parameters
Click on the object you want to configure the IP address, click the IP configuration on the desktop.
IP address of the PC: 192.168.1.24
IP address of the server: 192.168.1.25
4. capture and analyze packets captured
Open Simulation, screening HTTP in the Edit Filters, open the Play Controls
Click to open the PC, open the Web Browser on the desktop, enter the IP address to be accessed in the URL, the experiment is: 192.168.1.25
HTTP REQUEST:
HTTP Data: Accept-Language: en -us // represents the user wants to get the English version of the document priority
Accept: * / * // acceptance of any type
Connection: close // End after telling the server to send the requested document can release the connection
Host : 192.168.1.25 // given host domain name
HTTP RESPONSE:
HTTP Data:Connection: close //服务器发送完请求的文档后就可以释放连接
Content-Length: 369 //表示内容长度
Content-Type: text/html //表明后面文档属于text/html 类型
Server: PT-Server/5.2 //服务器的类型
5.通过该实验产生新的疑问及解答
疑问:HTTP请求报文和响应报文大致有哪些结构?
解答:HTTP请求报文和响应报文都是由三个部分组成:开始行、首部行和实体主体。这两种报文格式的区别就是开始行不同。