{
  "reviewed": "2026-12",
  "featured": {
    "id": "essentials",
    "label": "Essential headers",
    "terms": [
      "Content-Type",
      "Cache-Control",
      "Authorization",
      "Cookie",
      "Set-Cookie",
      "Accept",
      "User-Agent",
      "Content-Length",
      "Location",
      "ETag",
      "Vary",
      "Access-Control-Allow-Origin",
      "Strict-Transport-Security",
      "Content-Security-Policy",
      "X-Frame-Options",
      "X-Content-Type-Options",
      "Referrer-Policy"
    ]
  },
  "demo": [
    {
      "term": "Content-Type",
      "gloss": "the body's format"
    },
    {
      "term": "Set-Cookie",
      "gloss": "store a cookie"
    },
    {
      "term": "Authorization",
      "gloss": "who you are"
    },
    {
      "term": "ETag",
      "gloss": "version fingerprint"
    },
    {
      "term": "Location",
      "gloss": "where to go next"
    },
    {
      "term": "Access-Control-Allow-Origin",
      "gloss": "who may read this"
    },
    {
      "term": "Strict-Transport-Security",
      "gloss": "HTTPS only, no exceptions"
    }
  ],
  "categories": [
    {
      "id": "request",
      "name": "Request headers",
      "short": "Request",
      "color": "#2563EB",
      "items": [
        {
          "term": "Host",
          "label": "Target host",
          "detail": "Names the domain (and port) the request is meant for, the one required header in HTTP/1.1"
        },
        {
          "term": "User-Agent",
          "label": "Client identity",
          "detail": "Describes the browser, app or bot making the request, plus its version and platform"
        },
        {
          "term": "Accept",
          "label": "Wanted formats",
          "detail": "Tells the server which content types the client can handle, for example JSON or HTML"
        },
        {
          "term": "Accept-Encoding",
          "label": "Wanted compression",
          "detail": "Lists the compression the client understands, such as gzip or br, so responses can be smaller"
        },
        {
          "term": "Accept-Language",
          "label": "Wanted languages",
          "detail": "Signals the human languages the client prefers, so the server can localise the response"
        },
        {
          "term": "Authorization",
          "label": "Credentials",
          "detail": "Carries the client's credentials, such as a Bearer token or Basic login, to prove who it is"
        },
        {
          "term": "Cookie",
          "label": "Stored cookies",
          "detail": "Sends the cookies the server set earlier back to it, usually to keep the user logged in"
        },
        {
          "term": "Referer",
          "label": "Where you came from",
          "detail": "Names the page that linked to this request, misspelled in the spec and kept that way ever since"
        },
        {
          "term": "Origin",
          "label": "Requesting site",
          "detail": "Names the scheme and host the request came from, used heavily by CORS and CSRF checks"
        },
        {
          "term": "Connection",
          "label": "Keep-alive control",
          "detail": "Says whether the connection should stay open for more requests or close after this one"
        },
        {
          "term": "Upgrade-Insecure-Requests",
          "label": "Prefer HTTPS",
          "detail": "Signals the client would rather be served secure HTTPS versions of a page's resources"
        },
        {
          "term": "DNT",
          "label": "Do Not Track",
          "detail": "Deprecated. Once asked sites not to track the user, but it was widely ignored and is being removed"
        },
        {
          "term": "Sec-Fetch-Site",
          "label": "Request relationship",
          "detail": "Sent by the browser to say whether a request is same-origin, same-site or cross-site, so servers can refuse suspicious ones"
        },
        {
          "term": "Sec-Fetch-Mode",
          "label": "Request mode",
          "detail": "Sent by the browser to say how a resource is being fetched, for example navigate, cors or no-cors"
        }
      ]
    },
    {
      "id": "response",
      "name": "Response headers",
      "short": "Response",
      "color": "#16A34A",
      "items": [
        {
          "term": "Server",
          "label": "Server software",
          "detail": "Names the software handling the request, such as nginx or Apache, sometimes with a version"
        },
        {
          "term": "Date",
          "label": "When it was sent",
          "detail": "The date and time the server generated the response, in GMT"
        },
        {
          "term": "Location",
          "label": "Redirect target",
          "detail": "Points the client to another URL, used with 3xx redirects and after creating a resource"
        },
        {
          "term": "Set-Cookie",
          "label": "Store a cookie",
          "detail": "Tells the browser to save a cookie, with options for expiry, scope and security flags"
        },
        {
          "term": "Retry-After",
          "label": "Try again later",
          "detail": "Tells the client how long to wait before retrying, common with 429 and 503 responses"
        },
        {
          "term": "Allow",
          "label": "Permitted methods",
          "detail": "Lists the HTTP methods a resource supports, sent with a 405 Method Not Allowed"
        },
        {
          "term": "WWW-Authenticate",
          "label": "How to log in",
          "detail": "Sent with a 401 to tell the client which authentication scheme and realm to use"
        },
        {
          "term": "Link",
          "label": "Related resources",
          "detail": "Points to related resources, often used to preload or preconnect, and to page through API results"
        },
        {
          "term": "Server-Timing",
          "label": "Server metrics",
          "detail": "Shares server-side timings, such as database time, so they show up in the browser's developer tools"
        },
        {
          "term": "Alt-Svc",
          "label": "Alternative service",
          "detail": "Tells the client the same site is also available another way, most often over HTTP/3"
        }
      ]
    },
    {
      "id": "content",
      "name": "Content & encoding",
      "short": "Content",
      "color": "#D97706",
      "items": [
        {
          "term": "Content-Type",
          "label": "Body format",
          "detail": "Declares the media type of the body, such as application/json or text/html, plus its charset"
        },
        {
          "term": "Content-Length",
          "label": "Body size",
          "detail": "The size of the body in bytes, so the other side knows how much to read"
        },
        {
          "term": "Content-Encoding",
          "label": "Applied compression",
          "detail": "Names any compression applied to the body, such as gzip, so the client can undo it"
        },
        {
          "term": "Content-Language",
          "label": "Body language",
          "detail": "States the human language of the body, useful when the same URL serves several languages"
        },
        {
          "term": "Content-Location",
          "label": "Where it lives",
          "detail": "Points to the specific URL of the returned content when it differs from the requested one"
        },
        {
          "term": "Content-Disposition",
          "label": "Inline or download",
          "detail": "Says whether to show the body in the page or download it, and can suggest a filename"
        },
        {
          "term": "Content-Range",
          "label": "Which bytes",
          "detail": "States which part of the whole a partial response covers, used with 206 Partial Content"
        },
        {
          "term": "Transfer-Encoding",
          "label": "How it is sent",
          "detail": "Says how the body is sent hop by hop, usually chunked when the full size is not known in advance"
        }
      ]
    },
    {
      "id": "caching",
      "name": "Caching",
      "short": "Caching",
      "color": "#0891B2",
      "items": [
        {
          "term": "Cache-Control",
          "label": "Caching rules",
          "detail": "The main caching header, setting how and how long a response may be stored and reused"
        },
        {
          "term": "Expires",
          "label": "Expiry date",
          "detail": "An older way to give a hard expiry date for a cached copy, overridden by Cache-Control"
        },
        {
          "term": "ETag",
          "label": "Version fingerprint",
          "detail": "A short id for this version of a resource, so the client can ask if it has changed"
        },
        {
          "term": "Last-Modified",
          "label": "Last change time",
          "detail": "The time the resource last changed, a coarser way to check freshness than an ETag"
        },
        {
          "term": "Age",
          "label": "Time in cache",
          "detail": "How many seconds the response has already been sitting in a cache before reaching you"
        },
        {
          "term": "Vary",
          "label": "Cache-by headers",
          "detail": "Names the request headers a cached response depends on, so caches key on them correctly"
        },
        {
          "term": "Pragma",
          "label": "Legacy no-cache",
          "detail": "An HTTP/1.0 leftover, only really used as Pragma: no-cache for old clients"
        }
      ]
    },
    {
      "id": "conditional",
      "name": "Conditional & range",
      "short": "Conditional",
      "color": "#7C3AED",
      "items": [
        {
          "term": "If-Match",
          "label": "Only if same version",
          "detail": "Runs the request only if the resource's ETag matches, guarding against lost updates"
        },
        {
          "term": "If-None-Match",
          "label": "Only if changed",
          "detail": "Runs the request only if the ETag does not match, the basis of efficient cache revalidation"
        },
        {
          "term": "If-Modified-Since",
          "label": "Only if newer",
          "detail": "Asks for the resource only if it changed after a given time, otherwise a 304 is returned"
        },
        {
          "term": "If-Unmodified-Since",
          "label": "Only if untouched",
          "detail": "Runs the request only if the resource has not changed since a given time"
        },
        {
          "term": "Range",
          "label": "Ask for part",
          "detail": "Requests only a portion of a resource, used for resumable downloads and media seeking"
        },
        {
          "term": "If-Range",
          "label": "Range if unchanged",
          "detail": "Sends the range only if the resource is unchanged, otherwise asks for the whole thing"
        },
        {
          "term": "Accept-Ranges",
          "label": "Range support",
          "detail": "The server's way of advertising that it accepts range requests, usually 'bytes'"
        }
      ]
    },
    {
      "id": "cors",
      "name": "CORS",
      "short": "CORS",
      "color": "#DB2777",
      "items": [
        {
          "term": "Access-Control-Allow-Origin",
          "label": "Who may read",
          "detail": "Names the origins allowed to read the response, the core of cross-origin sharing"
        },
        {
          "term": "Access-Control-Allow-Methods",
          "label": "Allowed methods",
          "detail": "Lists the HTTP methods permitted on a cross-origin request, sent in the preflight reply"
        },
        {
          "term": "Access-Control-Allow-Headers",
          "label": "Allowed headers",
          "detail": "Lists the request headers the client may send cross-origin, answered during preflight"
        },
        {
          "term": "Access-Control-Allow-Credentials",
          "label": "Cookies allowed",
          "detail": "Says whether the browser may send cookies and auth on a cross-origin request"
        },
        {
          "term": "Access-Control-Expose-Headers",
          "label": "Readable headers",
          "detail": "Names which response headers JavaScript is allowed to read across origins"
        },
        {
          "term": "Access-Control-Max-Age",
          "label": "Cache preflight",
          "detail": "How long the browser may cache a preflight result before asking again"
        },
        {
          "term": "Access-Control-Request-Method",
          "label": "Preflight method",
          "detail": "Sent by the browser during preflight to ask if a given method will be allowed"
        },
        {
          "term": "Access-Control-Request-Headers",
          "label": "Preflight headers",
          "detail": "Sent by the browser during preflight to ask which custom headers will be allowed"
        }
      ]
    },
    {
      "id": "proxy",
      "name": "Proxies & forwarding",
      "short": "Proxies",
      "color": "#65A30D",
      "items": [
        {
          "term": "X-Forwarded-For",
          "label": "Original client IP",
          "detail": "Added by proxies and load balancers to pass on the IP address of the original client. Easy to fake, so only trust your own proxies"
        },
        {
          "term": "X-Forwarded-Proto",
          "label": "Original protocol",
          "detail": "Tells the app whether the client used HTTP or HTTPS before a proxy or load balancer took over the connection"
        },
        {
          "term": "X-Forwarded-Host",
          "label": "Original host",
          "detail": "Passes on the host name the client originally asked for, before a proxy rewrote it"
        },
        {
          "term": "Forwarded",
          "label": "Standard forwarding info",
          "detail": "The standard version of the X-Forwarded headers, carrying client address, protocol and host in one header"
        },
        {
          "term": "Via",
          "label": "Proxy trail",
          "detail": "Lists the proxies a request or response passed through, and helps spot forwarding loops"
        },
        {
          "term": "Proxy-Authorization",
          "label": "Proxy credentials",
          "detail": "Carries the credentials needed to use a proxy, sent after a 407 Proxy Authentication Required"
        },
        {
          "term": "Proxy-Authenticate",
          "label": "How to log in to the proxy",
          "detail": "Sent with a 407 to tell the client which authentication scheme the proxy expects"
        }
      ]
    },
    {
      "id": "security",
      "name": "Security",
      "short": "Security",
      "color": "#DC2626",
      "items": [
        {
          "term": "Strict-Transport-Security",
          "label": "Force HTTPS",
          "detail": "Tells browsers to only reach the site over HTTPS for a set time, known as HSTS"
        },
        {
          "term": "Content-Security-Policy",
          "label": "Allowed sources",
          "detail": "Controls which scripts, styles and other resources may load, the strongest defence against XSS"
        },
        {
          "term": "Content-Security-Policy-Report-Only",
          "label": "Trial a policy",
          "detail": "Reports what a Content-Security-Policy would block without blocking anything, so you can test a policy safely"
        },
        {
          "term": "X-Content-Type-Options",
          "label": "No MIME sniffing",
          "detail": "Set to nosniff, it stops browsers guessing a body's type and running it as something unsafe"
        },
        {
          "term": "X-Frame-Options",
          "label": "Anti-clickjacking",
          "detail": "Controls whether the page may be shown in a frame, guarding against clickjacking"
        },
        {
          "term": "Referrer-Policy",
          "label": "Referrer control",
          "detail": "Decides how much of the referring URL is shared when the user follows a link"
        },
        {
          "term": "Permissions-Policy",
          "label": "Feature gating",
          "detail": "Turns browser features like camera, mic and geolocation on or off per site, replaces Feature-Policy"
        },
        {
          "term": "Cross-Origin-Opener-Policy",
          "label": "Isolate the tab",
          "detail": "Cuts a page off from windows it opens, part of enabling cross-origin isolation (COOP)"
        },
        {
          "term": "Cross-Origin-Embedder-Policy",
          "label": "Vet embeds",
          "detail": "Requires cross-origin resources to opt in before loading, the other half of isolation (COEP)"
        },
        {
          "term": "Cross-Origin-Resource-Policy",
          "label": "Who may embed",
          "detail": "Limits which origins are allowed to embed a resource at all (CORP)"
        },
        {
          "term": "Clear-Site-Data",
          "label": "Wipe stored data",
          "detail": "Tells the browser to clear cookies, storage and caches for the site, handy on logout"
        },
        {
          "term": "X-XSS-Protection",
          "label": "Legacy XSS filter",
          "detail": "Deprecated. An old browser XSS filter that could add risks, replaced by Content-Security-Policy"
        },
        {
          "term": "Expect-CT",
          "label": "Certificate transparency",
          "detail": "Deprecated. Enforced Certificate Transparency, now on by default so the header is obsolete"
        },
        {
          "term": "Public-Key-Pins",
          "label": "Certificate pinning",
          "detail": "Deprecated. Pinned a site to specific certificates, removed for being fragile and dangerous (HPKP)"
        }
      ]
    }
  ]
}
