Request information in the network, what does each item in the headers mean

General section:
Request URL: resource request url

Request Method:HTTP方法

Status Code: Response status code

200 (status code) OK (reason phrase)

301-Resources (webpages, etc.) are permanently transferred to other URLs

404-The requested resource (webpage, etc.) does not exist

500-Internal server error

Response Headers:
Content-Encoding:gzip-compression encoding type

Content-Type: text/html-the type sent by the server and the encoding method used

Date: Tue, 14 Feb 2017 03:38:28 GMT-the time when the client requests the server

Last-Modified: Fri, 10 Feb 2017 09:46:23 GMT-the last modification time of the resource on the server side, GMT is Greenwich Mean Time

Server: nginx/1.2.4-the web server name of the server

Transfer-Encoding: chunked-transfer data to the client in chunks

Request Headers:
Accept:text/html-the type of resources that the client can receive

Accept-Encoding: gzip, deflate-the type of compressed data that the client can receive

Accept-Language:en-US,en;q=0.8 ——The type of language received by the client

Cache-Control:no-cache ——The server prohibits the client from caching page data

Connection: keep-alive-maintain the connection between the client and the server

Cookie: ——The client temporarily stores the information of the server

Host: www.jnshu.com-the target host and port number of the connection

Pragma:no-cache ——The server prohibits the client from caching page data

Referer: http://www.jnshu.com/daily/15052-where did it come from

User-Agent: ——The name of the client version number

Guess you like

Origin blog.csdn.net/qq_41411324/article/details/111252712