HTTP header reference

Search common HTTP request, response, and shared headers with short explanations.

60 headers

Reference list bundled in this browser — nothing is sent anywhere.

Standard and common headers only. Vendor-specific and deprecated headers are omitted; hop-by-hop and CORS-preflight details are summarized, not exhaustive.

HeaderDirectionWhat it does
AcceptRequestContent types the client prefers, e.g. text/html, application/json.
Accept-EncodingRequestCompression the client accepts — gzip, br (Brotli), zstd.
Accept-LanguageRequestPreferred natural languages, e.g. en-US, ja;q=0.9.
AuthorizationRequestCredentials — Bearer tokens, Basic auth, signatures.
Cache-ControlBothCaching rules — max-age, no-cache, no-store, private.
ConnectionBothHop-by-hop options like keep-alive or close.
Content-DispositionResponsePresent as attachment with a suggested filename for downloads.
Content-EncodingResponseCompression applied to the body — gzip, br.
Content-LanguageResponseNatural language of the body content.
Content-LengthBothBody size in bytes.
Content-LocationResponseCanonical URL for the returned representation.
Content-RangeResponseWhich byte range this partial response carries, e.g. bytes 0-99/500.
Content-Security-PolicyResponseRestricts where scripts, images, and frames may load from.
Content-TypeBothMedia type of the body, e.g. application/json; charset=utf-8.
CookieRequestCookies the client sends back to the server.
Cross-Origin-Embedder-PolicyResponseRequires cross-origin resources to opt in (require-corp).
Cross-Origin-Opener-PolicyResponseIsolates the window from cross-origin openers (same-origin).
Cross-Origin-Resource-PolicyResponseDeclares which origins may embed this resource.
DateResponseWhen the response was generated (HTTP-date format).
ETagResponseOpaque version tag for cache validation (If-None-Match).
ExpectRequestUsually '100-continue' — ask before sending a large body.
ExpiresResponseLegacy absolute cache expiry time; Cache-Control takes precedence.
ForwardedRequestStandard proxy info — for=, proto=, host=.
HostRequestThe requested host — required in HTTP/1.1.
If-MatchRequestOnly proceed if the current ETag matches.
If-Modified-SinceRequestReturn content only if newer than this date.
If-None-MatchRequestReturn 304 if the ETag still matches — cache revalidation.
If-Unmodified-SinceRequestOnly proceed if the resource is not newer than this date.
Last-ModifiedResponseWhen the resource last changed — a weak validator.
LinkBothRelated resources — preload hints, pagination, versions.
LocationResponseRedirect or created-resource target URL.
OriginRequestThe scheme+host+port that caused the request — for CORS and CSRF checks.
Permissions-PolicyResponseControls browser features — camera, geolocation, fullscreen.
PragmaBothLegacy 'no-cache' hint kept for HTTP/1.0 compatibility.
RangeRequestAsk for part of the body — bytes=0-99 resumes a download.
RefererRequestThe page that linked here (historic misspelling).
Referrer-PolicyResponseHow much of the URL is sent as Referer to other sites.
Retry-AfterResponseHow long to wait before retrying — seconds or a date.
Sec-Fetch-DestRequestWhere the response will be used — document, image, script.
Sec-Fetch-ModeRequestThe request mode — navigate, cors, no-cors.
Sec-Fetch-SiteRequestRelationship of the initiator — same-origin, cross-site.
ServerResponseSoftware handling the request — often masked for security.
Set-CookieResponseStore a cookie — attributes like HttpOnly, Secure, SameSite.
Strict-Transport-SecurityResponseForce HTTPS for future visits (max-age=63072000; includeSubDomains).
Transfer-EncodingResponseUsually 'chunked' — body streamed in pieces.
Upgrade-Insecure-RequestsRequestClient prefers HTTPS versions of resources on the page.
User-AgentRequestClient software identifier — browser name, version, OS.
VaryResponseCaches must key on these request headers (e.g. Accept-Encoding).
ViaResponseLists proxies the message passed through.
WWW-AuthenticateResponseHow to authenticate — comes with a 401.
X-Content-Type-OptionsResponse'nosniff' — browsers must not guess the content type.
X-Forwarded-ForRequestDe-facto proxy header listing original client IPs.
X-Frame-OptionsResponseDENY or SAMEORIGIN — legacy clickjacking protection (use CSP frame-ancestors).
X-XSS-ProtectionResponseLegacy browser XSS filter — obsolete; set to 0.
Access-Control-Allow-OriginResponseCORS — which origins may read this response.
Access-Control-Allow-MethodsResponseCORS preflight — methods allowed on the real request.
Access-Control-Allow-HeadersResponseCORS preflight — request headers allowed.
Access-Control-Max-AgeResponseHow long a preflight result can be cached (seconds).
Access-Control-Request-MethodRequestCORS preflight — the method the real request will use.
Access-Control-Request-HeadersRequestCORS preflight — custom headers the real request will send.

How to use

  1. Search by header name or keyword.
  2. Filter by request/response/shared.
  3. Read the meaning and notes.

What it supports

A curated list of frequently-seen headers, not the full registry. Descriptions are short summaries — check the linked spec for edge cases.

Related tools

Related guides