Common headers and Their Descriptions

header
status
type
description
example
Pragma
permanent
response
Implementation-specific headers that may have various effects anywhere along the request-response chain.
Pragma: no-cache
Proxy-Authenticate
permanent
response
Request authentication to access the proxy.
Proxy-Authenticate: Basic
Refresh
proprietary
response
Used in redirection, or when a new resource has been created. This refresh redirects after 5 seconds.
Refresh: 5; url=http://www.w3.org/pub/WWW/People.html
Retry-After
permanent
response
If an entity is temporarily unavailable, this instructs the client to try again after a specified period of time (seconds).
Retry-After: 120
Server
permanent
response
A name for the server
Server: Apache/2.4.1 (Unix)
Set-Cookie
permanent
response
An HTTP cookie
Set-Cookie: UserID=JohnDoe; Max-Age=3600; Version=1
Status
not set
response
The HTTP status of the response
Status: 200 OK
Trailer
permanent
response
The Trailer general field value indicates that the given set of header fields is present in the trailer of a message encoded with chunked transfer-coding.
Trailer: Max-Forwards
Transfer-Encoding
permanent
response
The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity.
Transfer-Encoding: chunked
Vary
permanent
response
Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server.
Vary: *


check headers