Tip: Ctrl+F for quick search
Header | Explanation | Example |
---|---|---|
Accept | Specifies the types of content that the client can accept | Accept: text/plain, text/html |
Accept-Charset | The character encodings that the browser can accept. | Accept-Charset: iso-8859-5 |
Accept-Encoding | Specifies the web server's content compression encoding types that the browser can support. | Accept-Encoding: compress, gzip |
Accept-Language | The languages that the browser can accept. | Accept-Language: en,zh |
Accept-Ranges | Requests a part of the web page entity or multiple sub-ranges of the field. | Accept-Ranges: bytes |
Authorization | HTTP authorization's authorization credentials. | Authorization: Authorization credentials |
Cache-Control | Specifies the caching mechanism that the request and response follow. | Cache-Control: no-cache |
Connection | Indicates whether a persistent connection is needed. (HTTP 1.1 defaults to persistent connections) | Connection: close |
Cookie | When an HTTP request is sent, all the cookie values saved under the domain of the request are sent to the web server together. | Cookie: $Version=1; Skin=new; |
Content-Length | The length of the content requested | Content-Length: 348 |
Content-Type | The MIME information corresponding to the entity requested | Content-Type: application/x-www-form-urlencoded |
Date | The date and time the request was sent | Date: Tue, 15 Nov 201 8:12:31 GMT |
Expect | The specific server behavior requested | Expect: 100-continue |
From | The Email of the user who made the request | From: [email protected] |
Host | Specifies the domain name and port number of the server being requested | Host: www.jsons.cn |
If-Match | Only valid if the requested content matches the entity | If-Match: "specific value" |
If-Modified-Since | If the requested part has been modified after the specified time, the request is successful, otherwise it returns a 304 code | If-Modified-Since: Sat, 29 Oct 201 19:43:31 GMT |
If-None-Match | Returns a 304 code if the content has not changed, the parameter is the Etag previously sent by the server, and it is compared with the Etag in the server's response to determine if it has changed | If-None-Match: "specific value" |
If-Range | If the entity has not changed, the server sends the part that the client has lost, otherwise it sends the entire entity. The parameter is also Etag. | If-Range: "specific value" |
If-Unmodified-Since | Only successful if the entity has not been modified after the specified time | If-Unmodified-Since: Sat, 29 Oct 2010 19:43:31 GMT |
Max-Forwards | Restrict the transmission time of information through proxies and ** | Max-Forwards: 10 |
Pragma | Used to include implementation-specific directives | Pragma: no-cache |
Proxy-Authorization | Authorization credentials for connecting to a proxy | Proxy-Authorization: Authorization credentials for connecting to a proxy |
Range | Only request a part of the entity, specify the range | Range: bytes=500-999 |
Referer | The address of the previous web page, the current requested web page follows it, that is, the source | Referer: http://www.jsons.cn |
TE | The transfer encodings the client is willing to accept and to notify the server to accept trailer headers | TE: trailers, deflate; q=.5 |
Upgrade | To specify a certain transfer protocol to the server for conversion (if supported) | Upgrade: HTTP/2., SHTTP/1.3, IRC/6.9, RTA/x11 |
User-Agent | The User-Agent contains information about the user who issued the request | User-Agent: Mozilla/5. (Linux; X11) |
Via | Notify the intermediate ** or proxy server address, communication protocol | Via: 1. fred, 1.1 nowhere.com (Apache/1.1) |
Warning | Warning information about the message entity | Warn: 199 Miscellaneous warning |
Header | Explanation | Example |
---|---|---|
Accept-Ranges | Indicates whether the server supports range requests and what type of range requests | Accept-Ranges: bytes |
Age | The estimated time from the origin server to the proxy cache (in seconds, non-negative) | Age: 12 |
Allow | The valid request actions for a network resource, if not allowed, return 405 | Allow: GET, HEAD |
Cache-Control | Inform all caching mechanisms whether they can cache and what type | Cache-Control: no-cache |
Content-Encoding | The types of content compression encoding supported by the web server. | Content-Encoding: gzip |
Content-Language | The language of the response body | Content-Language: en,zh |
Content-Length | The length of the response body | Content-Length: 348 |
Content-Location | An alternative address for the requested resource | Content-Location: /index.htm |
Content-MD5 | The MD5 checksum value of the returned resource | Content-MD5: MD5 checksum value |
Content-Range | The byte position of this part in the entire returned body | Content-Range: bytes 21010-47021/47022 |
Content-Type | The MIME type of the returned content | Content-Type: text/html; charset=utf-8 |
Date | The time when the original server message was sent | Date: Tue, 15 Nov 201 8:12:31 GMT |
ETag | The current value of the entity tag of the requested variable | ETag: "Current value of the requested variable entity tag" |
Expires | The date and time when the response expires | Expires: Thu, 1 Dec 201 16:00:00 GMT |
Last-Modified | The last modified time of the requested resource | Last-Modified: Tue, 15 Nov 201 12:45:26 GMT |
Location | Used to redirect the recipient to a location other than the requested URL to complete the request or identify a new resource | Location: http://www.jsons.cn |
Pragma | Contains implementation-specific directives that can be applied to any recipient in the response chain | Pragma: no-cache |
Proxy-Authenticate | It indicates the authentication scheme and parameters applicable to the proxy for the URL in question | Proxy-Authenticate: Basic |
refresh | Applied to redirection or when a new resource is created, it redirects after 5 seconds (proposed by Netscape and supported by most browsers) |
Refresh: 5; url= http://www.jsons.cn
|
Retry-After | If the entity is temporarily unavailable, it notifies the client to try again after a specified time | Retry-After: 120 |
Server | The name of the web server software | Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) |
Set-Cookie | Set HTTP Cookie | Set-Cookie: UserID=JohnDoe; Max-Age=3600; Version=1 |
Trailer | Indicates the presence of header fields at the end of chunked transfer encoding | Trailer: Max-Forwards |
Transfer-Encoding | File transfer encoding | Transfer-Encoding:chunked |
Vary | Tells downstream proxies whether to use cached responses or request from the original server | Vary: * |
Via | Informs the client that the response was sent through which proxy | Via: 1. fred, 1.1 nowhere.com (Apache/1.1) |
Warning | Warns of potential issues with the entity | Warning: 199 Miscellaneous warning |
WWW-Authenticate | Indicates the authorization scheme that the client should use to request the entity | WWW-Authenticate: Basic |
HTTP request headers provide information about the request, response, or other sent entities. HTTP header information includes general headers, request headers, response headers, and entity headers
Each header field consists of a domain name, a colon (:), and a field value
General header: Can be used for both requests and responses, associated with the overall transaction rather than a specific resource
Request header: Allows the client to pass information about itself and the desired response format
Response header: The server uses it to convey its own information in the response
Entity header: Defines information about the resource being transferred, can be used for both requests and responses
Friendship link: Online Tool Network masters tool Calculation Assistant mathematical calculator ipsaya Random IP Strong Random Password Generator 2 to the power of what is 1/64 Globe Ask hello wordl Live Clock Numbers to Letters Pokemon Guide Snail Bob Red Light Green Light Game Excel Game Block Blast Unblocked Incredibox Sprunki Today Lucky Number Military Time Chart Chronological Age Calculator 12 Weeks From Today Weeks From Today Bottleneck Calculator Letters to Numbers