Converter Web ToolsConverter WebTools

HTTP Headers List — Request & Response Reference

An HTTP header is a key-value field sent with a request or response to pass metadata such as content type, caching, authentication and cookies. This reference lists the most common HTTP request and response headers and what they do.

HeaderTypePurpose
AcceptReqMedia types the client can handle
Accept-EncodingReqCompression the client supports (gzip, br)
Accept-LanguageReqPreferred languages
AuthorizationReqCredentials (e.g. Bearer token)
Cache-ControlBothCaching directives
Content-TypeBothMedia type of the body
Content-LengthBothSize of the body in bytes
Content-EncodingBothCompression applied to the body
CookieReqCookies sent to the server
Set-CookieResCookies the server stores in the browser
HostReqDomain name of the server
OriginReqOrigin of a cross-site request
RefererReqURL of the previous page
User-AgentReqClient/browser identification
LocationResRedirect target URL
ETagResVersion identifier for caching
Last-ModifiedResWhen the resource last changed
ExpiresResWhen the response becomes stale
Access-Control-Allow-OriginResCORS allowed origin
Content-DispositionResInline display or file download
X-Frame-OptionsResClickjacking protection
Strict-Transport-SecurityResForce HTTPS (HSTS)
Content-Security-PolicyResRestrict allowed content sources
Retry-AfterResWhen to retry after 429/503

Related tools & charts