HTTP Request Header Request Header
Header explain Example
Accept Specify the type of content that the client can receive Accept: text/plain, text/html
Accept-Charset A set of character encodings that the browser can accept. Accept-Charset: iso-8859-5
Accept-Encoding Specifies the type of content compression encoding returned by the browser. Accept-Encoding: compress, gzip
Accept-Language Browser acceptable language Accept-Language: en,zh
Accept-Ranges One or more sub-range fields of a web entity can be requested Accept-Ranges: bytes
Authorization HTTP authorization certificate Authorization: Certificate of Authorization
Cache-Control Specify the caching mechanism to which requests and responses follow Cache-Control: no-cache
Connection Indicates whether a persistent connection is required. (HTTP 1.1 defaults to persistent connections) Connection: close
Cookie When an HTTP request is sent, all cookie values ​​stored under the request domain name will be sent to the web server together. Cookie: $Version=1; Skin=new;
Content-Length Requested content length Content-Length: 348
Content-Type The requested MIME information corresponding to the entity Content-Type: application/x-www-form-urlencoded
Date The date and time of the request to be sent Date: Tue, 15 Nov 2010 08:12:31 GMT
Expect The specific server behavior requested Expect: 100-continue
From Email of the requested user From: [email protected]
Host Specify the domain name and port number of the requested server Host: AItoolsbar.com
If-Match Only if the requested content matches the entity is valid If-Match: "Specific value"
If-Modified-Since If the requested part is modified after the specified time, the request is successful, and if it is not modified, a 304 code is returned If-Modified-Since: Sat, 29 Oct 2010 19:43:31 GMT
If-None-Match If the content has not changed, return the 304 code, and the parameter is the Etag sent by the server before, compare it with the Etag responded by the server to determine whether it has changed. If-None-Match: "Specific value"
If-Range If the entity has not changed, the server sends the missing part of the client, otherwise the entire entity is sent. The parameter is also Etag If-Range: "Specific value"
If-Unmodified-Since The request is successful only if the entity has not been modified after the specified time If-Unmodified-Since: Sat, 29 Oct 2010 19:43:31 GMT
Max-Forwards Limit the time when information is transmitted through the proxy and gateway Max-Forwards: 10
Pragma Used to include implementation specific instructions Pragma: no-cache
Proxy-Authorization Certificate to connect to the proxy Proxy-Authorization: Authorization certificate linked to the proxy
Range Request only part of the entity, specify the scope Range: bytes=500-999
Referer The address of the previous web page, the current requested web page is immediately followed, that is, the way it comes Referer: http://AItoolsbar.com
TE The transmission code that the client is willing to accept and notify the server to accept the end-top information TE: trailers,deflate;q=0.5
Upgrade Specify some transport protocol to the server for conversion (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 Notify the intermediate gateway or proxy server address, communication protocol Via: 1.0 fred, 1.1 nowhere.com (Apache/1.1)
Warning Warning information about the message entity Warn: 199 Miscellaneous warning
HTTP Responses Header Response Header
Header explain Example
Accept-Ranges Indicates whether the server supports specified range requests and which type of segment requests Accept-Ranges: bytes
Age Estimated time (in seconds, non-negative) from the origin server to the proxy cache formation Age: 12
Allow If valid request behavior for a certain network resource is not allowed, return 405. Allow: GET, HEAD
Cache-Control Tell all cache mechanisms whether and which type Cache-Control: no-cache
Content-Encoding The type of return content compression encoding supported by the web server. Content-Encoding: gzip
Content-Language Language of the response body Content-Language: en,zh
Content-Length Length of the response body Content-Length: 348
Content-Location Another alternative address to request a resource Content-Location: /index.htm
Content-MD5 Returns the MD5 check value of the resource Content-MD5: MD5 check value
Content-Range Byte position of this part in the entire return body Content-Range: bytes 21010-47021/47022
Content-Type Returns the MIME type of content Content-Type: text/html; charset=utf-8
Date Time of the origin server message Date: Tue, 15 Nov 2010 08:12:31 GMT
ETag The current value of the entity label of the request variable ETag: "Request variable entity tag current value"
Expires The date and time of the response expired Expires: Thu, 01 Dec 2010 16:00:00 GMT
Last-Modified The last modification time of the requested resource Last-Modified: Tue, 15 Nov 2010 12:45:26 GMT
Location Used to redirect the receiver to the location of the non-requested URL to complete the request or identify a new resource Location: http://AItoolsbar.com
Pragma Including implementing specific instructions that can be applied to any receiver on the response chain Pragma: no-cache
Proxy-Authenticate It indicates the authentication scheme and the parameters on that URL that can be applied to the proxy Proxy-Authenticate: Basic
refresh Apply to redirect or a new resource is created, redirected after 5 seconds (proposed by Netscape, supported by most browsers)
Refresh: 5; url= AItoolsbar.com/div>
Retry-After If the entity is temporarily undesirable, notify the client to try again after the specified time Retry-After: 120
Server Web server software name Server: Apache/1.3.27 (Unix) (Red-Hat/Linux)
Set-Cookie Set Http Cookies Set-Cookie: UserID=JohnDoe; Max-Age=3600; Version=1
Trailer It indicates that the header field exists at the tail of the block transmission code Trailer: Max-Forwards
Transfer-Encoding File transfer encoding Transfer-Encoding:chunked
Vary Tell the downstream agent whether to use cached responses or request from the original server Vary: *
Via Tell the proxy client where the response is sent Via: 1.0 fred, 1.1 nowhere.com (Apache/1.1)
Warning Warn of possible problems for entities Warning: 199 Miscellaneous warning
WWW-Authenticate Indicates that the authorization scheme that the client requesting entity should use WWW-Authenticate: Basic

Online HTTP response header, HTTP request header

HTTP request header provides information about request, response or other sending entities. HTTP header information includes four parts: general header, request header, response header and entity header.

Each header domain consists of three parts: a domain name, a colon (:) and a domain value.

Generic header: can be used for requests or responses, associated with transactions as a whole rather than a specific resource

Request header: Allows the client to pass information about itself and the desired response form

Response header: The server and the response to passing its own information

Entity header: Defines the information of the transferred resource, which can be used for requests or responses

Access Log:
Advertising area 1