1. The request header

Request header describe The sample
Accept A list of MIME types supported by the user agent Accept: text/html,application/xhtml+xml,application/xml; Q = 0.9
Accept-Encoding Compression methods supported by user agents (priority) Accept-Encoding: br, gzip, deflate
Accept-Language Language expected by the user agent (priority) Accept-Language: zh-CN,zh; Q = 0.9
Cache-Control Caching mechanisms Cache-Control: max-age=0
Connection Persistent connection Connection: keep-alive
Cookie HTTP cookies The server stores cookies to the client through set-cookie
Host Host name + port number Host: 127.0.0.1:8080
If-Match Request to specify an identifier resource If-Match: "56a88df57772gt555gr5469a32ee75d65dcwq989"
If-Modified-Since Requests a resource that has been modified at a specified time If-Modified-Since: Wed, 19 Oct 2020 17:32:00 GMT
If-None-Match Request an unspecified identifier resource If-None-Match: "56a88df57772gt555gr5469a32ee75d65dcwq989"
Upgrade-Insecure-Requests Clients preferentially accept encrypted and authenticated responses and support CSP Upgrade-Insecure-Requests: 1
User-Agent The user agent The user-agent: Safari / 537.36
vary Cache policies, often used for adaptive cache configuration and SEO Vary: User-Agent

2. The response headers

Response headers describe The sample
Allow Which request methods the server supports Allow: POST,GET,OPTIONS
Cache-Control Caching mechanisms Cache-Control: public, max-age=3600
Connection Persistent connection Connection: keep-alive
Content-Encoding Content encoding mode Content-Encoding: br
Content-Type The MIME type of the content Content-Type: text/html; charset=UTF-8
Date Message Creation time Date: Sun, 28 Feb 2021 11:52:51 GMT
Expires Resource Expiration time Expires: Sun, 28 Feb 2021 12:52:51 GMT
ETag Resource identifier ETag: "56a88df57772gt555gr5469a32ee75d65dcwq989"
Set-Cookie The server sends cookies to the client Set-Cookie: token=6e204d9b-103a-431e-b8de-ba97b2d1; path=/; HttpOnly