Header |
Explain |
Example |
Accept |
Specify what types of content clients can receive |
Accept:text/plain, text/html |
Accept-charset |
The set of character encodings that the browser can accept. |
Accept-charset:iso-8859-5 |
Accept-encoding |
Specifies that the Web server that the browser can support returns the content compression encoding type. |
Accept-encoding:compress, gzip |
Accept-language |
Browser-acceptable language |
Accept-language:en,zh |
Accept-ranges |
You can request one or more child range fields for a Web page entity |
Accept-ranges:bytes |
Authorization |
Authorization Certificate for HTTP Authorization |
Authorization:basic qwxhzgrpbjpvcgvuihnlc2ftzq== |
Cache-control |
Specify the caching mechanism that requests and responses follow |
Cache-control:no-cache |
Connection |
Indicates whether a persistent connection is required. (HTTP 1.1 defaults to persistent connection) |
Connection:close |
Cookies |
When an HTTP request is sent, all cookie values stored under that request domain are sent to the Web server. |
Cookie: $Version = 1; Skin=new; |
Content-length |
The requested content length |
content-length:348 |
Content-type |
The requested MIME information corresponding to the entity |
content-type:application/x-www-form-urlencoded |
Date |
Date and time the request was sent |
Date:tue, 08:12:31 GMT |
Expect |
The specific server behavior of the request |
Expect:100-continue |
From |
Email from the user who made the request |
From:user@email.com |
Host |
Specify the domain name and port number of the requested server |
Host:www.zcmhi.com |
If-match |
Only valid if the request content matches the entity |
If-match: "737060cd8c284d8af7ad3082f209582d" |
If-modified-since |
If the requested part is modified after the specified time, the request succeeds, and the 304 code is returned without modification |
If-modified-since:sat, Oct 19:43:31 GMT |
If-none-match |
If the content does not change the return 304 code, the parameter is the server's previously sent ETag, and the server responded to the ETag comparison to determine whether the change |
If-none-match: "737060cd8c284d8af7ad3082f209582d" |
If-range |
If the entity does not change, the server sends the missing portion of the client, otherwise the entire entity is sent. The parameters are also ETag |
If-range: "737060cd8c284d8af7ad3082f209582d" |
If-unmodified-since |
Request succeeds only if the entity has not been modified since the specified time |
If-unmodified-since:sat, Oct 19:43:31 GMT |
Max-forwards |
Limit the time that information is transmitted through agents and gateways |
Max-forwards:10 |
Pragma |
Used to include implementation-specific instructions |
Pragma:no-cache |
Proxy-authorization |
Connect to an authorization certificate for the agent |
Proxy-authorization:basic qwxhzgrpbjpvcgvuihnlc2ftzq== |
Range |
Request only part of an entity, specify a range |
range:bytes=500-999 |
Referer |
The address of the previous page, which is immediately followed by the current request page, |
Referer:http://www.zcmhi.com/archives/71.html |
TE |
The client is willing to accept the transfer encoding and notifies the server to accept the trailing header information |
te:trailers,deflate;q=0.5 |
Upgrade |
Specify some kind of transport protocol to the server for the server to convert (if supported) |
upgrade:http/2.0, shttp/1.3, irc/6.9, rta/x11 |
User-agent |
The content of the user-agent contains the user information that made the request |
user-agent:mozilla/5.0 (Linux; X11) |
Via |
Notifies the intermediary gateway or proxy server address, communication protocol |
via:1.0 Fred, 1.1 nowhere.com (apache/1.1) |
Warning |
About warning messages for message entities |
warn:199 Miscellaneous Warning |