Common headers and Their Descriptions

header
status
type
description
example
Accept
permanent
request
Content-Types that are acceptable for the response
Accept: text/plain
Accept-Charset
permanent
request
Character sets that are acceptable
Accept-Charset: utf-8
Accept-Encoding
permanent
request
List of acceptable encodings. See HTTP compression.
Accept-Encoding: gzip, deflate
Accept-Language
permanent
request
List of acceptable human languages for response
Accept-Language: en-US
Accept-Datetime
provisional
request
Acceptable version in time
Accept-Datetime: Thu, 31 May 2007 20:35:00 GMT
Authorization
permanent
request
Authentication credentials for HTTP authentication
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
Cache-Control
permanent
request
Used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain
Cache-Control: no-cache
Connection
permanent
request
What type of connection the user-agent would prefer
Connection: keep-alive
Cookie
permanent
request
an HTTP cookie previously sent by the server with Set-Cookie (below)
Cookie: $Version=1; Skin=new;
Content-Length
permanent
request
The length of the request body in octets (8-bit bytes)
Content-Length: 348


check headers