Header |
Explanation |
Example |
Accept |
Specifies the content type that the client can receive |
Accept: text/plain, text/html |
Accept-Charset |
String set that the browser can accept. |
Accept-Charset: ISO-8859-5 |
Accept-Encoding |
Specifies the type of content compression encoding that can be returned by the web server supported by the browser. |
Accept-Encoding: compress, gzip |
Accept-Language |
Acceptable browser language |
Accept-Language: en, zh |
Accept-Ranges |
You can request one or more sub-range fields of a webpage object. |
Accept-Ranges: bytes |
Authorization |
HTTP authorization certificate |
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ = |
Cache-Control |
Specify the cache mechanism for requests and responses |
Cache-Control: no-cache |
Connection |
Indicates whether a persistent connection is required. (HTTP 1.1 performs persistent connections by default) |
Connection: close |
Cookie |
When an HTTP request is sent, all cookie values stored under the domain name of the request are sent to the web server. |
Cookie: $ Version = 1; Skin = new; |
Content-Length |
Request content length |
Content-Length: 348 |
Content-Type |
MIME Information of the request corresponding to the object |
Content-Type: application/x-www-form-urlencoded |
Date |
Date and time when the request was sent |
Date: Tue, 15 Nov 2010 08:12:31 GMT |
Secondary CT |
Specific server behavior of the request |
Secondary CT: 100-continue |
From |
Email of the user sending the request |
From: user@email.com |
Host |
Specify the domain name and port number of the requested server |
Host: www.zcmhi.com |
If-Match |
Valid only when the request content matches the object |
If-Match: "737060cd8c284d8af7ad3082f209582d" |
If-Modified-Since |
If the request is modified after the specified time, the request is successful. if the request is not modified, code 304 is returned. |
If-Modified-Since: Sat, 29 Oct 2010 19:43:31 GMT |
If-None-Match |
If the content is not changed, the system returns the 304 code. the parameter is the Etag previously sent by the server. compare it with the Etag responded by the server to determine whether the Etag is changed. |
If-None-Match: "737060cd8c284d8af7ad3082f209582d" |
If-Range |
If the entity has not changed, the server sends the part lost by the client; otherwise, the whole entity is sent. The parameter is also Etag. |
If-Range: "737060cd8c284d8af7ad3082f209582d" |
If-Unmodified-Since |
The request is successful only when the object is not modified after the specified time. |
If-Unmodified-Since: Sat, 29 Oct 2010 19:43:31 GMT |
Max-Forwards |
Restrict the time when information is transmitted through the proxy and Gateway |
Max-Forwards: 10 |
Pragma |
Used to include specific instructions |
Pragma: no-cache |
Proxy-Authorization |
Connect to the proxy authorization certificate |
Proxy-Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ = |
Range |
Request only part of the object, specifying the range |
Range: bytes = 500-999 |
Referer |
The address of the previous webpage, followed by the current requested webpage. |
Referer: http://www.zcmhi.com/archives/71.html |
TE |
The client is willing to accept the transfer code and notifies the server to accept the tail header information. |
TE: trailers, deflate; q = 0.5 |
Upgrade |
Specify a certain transmission protocol to the server for server conversion (if supported) |
Upgrade: HTTP/2.0, SHTTP/1.3, IRC/6.9, RTA/x11 |
User-Agent |
The User-Agent content contains the User information that sends the request. |
User-Agent: Mozilla/5.0 (Linux; X11) |
Via |
Notify the intermediate gateway or proxy server address, communication protocol |
Via: 1.0 fred, 1.1 nowhere.com (Apache/1.1) |
Warning |
Message entity warning information |
Warn: 199 Miscellaneous warning |