PufferKit
HomeDeveloperHTTP Headers Reference
Default
India11
East Asia3
Other Countries3
Buy me a coffee

HTTP Headers Reference

Search request, caching, CORS, security and proxy HTTP headers with copyable examples.

Accept Request

Media types the client prefers in the response.

Accept: application/json
Accept-Encoding Request

Compression encodings understood by client (gzip, br, zstd).

Accept-Encoding: br, gzip
Accept-Language Request

Preferred natural languages and locales ordered by weight.

Accept-Language: en-US,en;q=0.9
Authorization Request

Authentication credentials such as Bearer JWT or Basic token.

Authorization: Bearer <token>
Cookie Request

Stored HTTP cookies previously set via Set-Cookie.

Cookie: session=abc123
Host Request

Target host and optional port used to route virtual hosts.

Host: api.example.com
Origin Request

Scheme, hostname, and port initiating a fetch or CORS request.

Origin: https://app.example.com
Referer Request

Address of the previous page that linked or triggered the request.

Referer: https://example.com/
User-Agent Request

Software vendor, browser, OS, and engine identifier string.

User-Agent: Mozilla/5.0 ...
If-None-Match Caching

Conditional request using cached ETag; returns 304 when unchanged.

If-None-Match: "v42-etag"
If-Modified-Since Caching

Conditional GET timestamp compared against resource Last-Modified.

If-Modified-Since: Wed, 21 Oct 2026 07:28:00 GMT
Cache-Control Caching

Caching directives for browsers and CDNs (max-age, no-store, public).

Cache-Control: public, max-age=3600, stale-while-revalidate=60
ETag Caching

Opaque version validator for a specific resource representation.

ETag: W/"a1b2c3"
Expires Caching

Legacy HTTP date after which response is considered stale.

Expires: Thu, 01 Dec 2026 16:00:00 GMT
Last-Modified Caching

Server timestamp indicating when resource last changed.

Last-Modified: Wed, 21 Oct 2026 07:28:00 GMT
Age Caching

Seconds the object has stayed in a shared proxy/CDN cache.

Age: 142
Vary Caching

Request headers that affect cached response equivalence.

Vary: Accept-Encoding, Origin
Connection General

Controls hop-by-hop persistence (keep-alive or close).

Connection: keep-alive
Date General

Origin timestamp when HTTP message was generated.

Date: Fri, 04 Dec 2026 01:00:00 GMT
Transfer-Encoding General

Hop-by-hop payload framing such as chunked streaming.

Transfer-Encoding: chunked
Content-Type Representation

Media type and charset of the message payload.

Content-Type: application/json; charset=utf-8
Content-Length Representation

Exact byte length of message body sent on the wire.

Content-Length: 512
Content-Encoding Representation

Transformations applied to body bytes (br, gzip, deflate).

Content-Encoding: br
Content-Disposition Representation

Advises browser whether to display inline or save as named attachment.

Content-Disposition: attachment; filename="report.pdf"
Content-Range Representation

Byte offset range included in a 206 Partial Content response.

Content-Range: bytes 0-499/1234
Location Response

Target redirect URI (3xx) or URI of newly created resource (201).

Location: https://example.com/items/42
Retry-After Response

Delay in seconds or HTTP date after 429/503 responses.

Retry-After: 30
Set-Cookie Response

Sends cookie key/value with HttpOnly, Secure, and SameSite flags.

Set-Cookie: sid=xyz; HttpOnly; Secure; SameSite=Lax
WWW-Authenticate Response

Auth challenge scheme and realm accompanying 401 Unauthorized.

WWW-Authenticate: Bearer realm="api"
Server Response

Identifies origin web server software handling the request.

Server: nginx
Content-Security-Policy Security

Restricts permitted script, style, frame, and fetch origins.

Content-Security-Policy: default-src 'self'
Strict-Transport-Security Security

Enforces HTTPS connections for host and optional subdomains.

Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options Security

Prevents browsers from MIME-sniffing responses away from declared type.

X-Content-Type-Options: nosniff
X-Frame-Options Security

Controls whether page may be embedded inside an iframe.

X-Frame-Options: DENY
Referrer-Policy Security

Controls how much referrer path/origin metadata is shared on navigation.

Referrer-Policy: strict-origin-when-cross-origin
Permissions-Policy Security

Allows or disables browser APIs (camera, geolocation, mic) per origin.

Permissions-Policy: camera=(), microphone=()
Cross-Origin-Opener-Policy Security

Isolates top-level browsing context from cross-origin popups.

Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Embedder-Policy Security

Requires subresources to opt in via CORP/CORS for SharedArrayBuffer.

Cross-Origin-Embedder-Policy: require-corp
Access-Control-Allow-Origin CORS

Specifies origins allowed to read cross-origin responses.

Access-Control-Allow-Origin: https://app.example.com
Access-Control-Allow-Methods CORS

Permitted HTTP methods returned during preflight OPTIONS checks.

Access-Control-Allow-Methods: GET, POST, PATCH
Access-Control-Allow-Headers CORS

Custom request headers authorized during CORS preflight.

Access-Control-Allow-Headers: Content-Type, Authorization
Access-Control-Allow-Credentials CORS

Allows cookies/auth headers in cross-origin requests.

Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers CORS

Response headers made readable to browser JS fetch/XHR.

Access-Control-Expose-Headers: X-Request-Id
Access-Control-Max-Age CORS

Seconds preflight CORS OPTIONS responses may be cached.

Access-Control-Max-Age: 86400
X-Forwarded-For Proxy

Ordered list of client and proxy IP addresses traversed.

X-Forwarded-For: 203.0.113.195, 10.0.0.1
X-Forwarded-Proto Proxy

Original protocol (http or https) seen by TLS terminator/proxy.

X-Forwarded-Proto: https
X-Forwarded-Host Proxy

Original Host header requested by client before reverse-proxy rewrite.

X-Forwarded-Host: app.example.com
Forwarded Proxy

Standardized RFC 7239 proxy header combining by, for, host, proto.

Forwarded: for=192.0.2.60;proto=https;by=203.0.113.43
Via Proxy

Tracks intermediate proxy hops and HTTP protocol versions.

Via: 1.1 cloudflare

Your input is processed locally in this browser tab.

How to use HTTP Headers Reference

  1. Search headers by name, function, or directive (such as cache, cors, csp, cookie, or forwarded).

  2. Filter by group buttons: Request, Caching, Response, Security, CORS, Proxy, and more.

  3. Click Copy on any card to copy a valid example header line.

Frequently asked questions

Are CORS preflight and security hardening headers included?

Yes. All major Access-Control-*, Content-Security-Policy, HSTS, COOP, and COEP headers are covered.

Does lookup work offline?

Yes, the entire catalog is bundled locally.

A LITTLE SUPPORT GOES A LONG WAY

Enjoying PufferKit?

If these tools made your day a little easier, you can buy me a coffee and support what I’m building.

Support
With or without a coffee, you’re always welcome here.

Processing locally

File and data operations run locally inside this browser tab. Static assets such as fonts and qpdf.wasm load from this site origin, while PufferKit never uploads your files or tracks usage. HTTP client tools send requests to endpoints you choose. Preferences and saved drafts stay in this browser’s storage until you clear them.

How it works →

Find a tool

Compress Image to KBImagesImage ConverterImagesImage ResizerImagesImage CropperImagesImage RotatorImagesImage DimensionsImagesImage ViewerImagesImage FlipperImagesImage MetadataImages · SecurityRemove MetadataImages · SecurityImage OptimizerImagesImage to Base64Images · DeveloperSVG to PNGImages · DesignJPG to PNGImagesPNG to JPGImagesJPG to WebPImagesPNG to WebPImagesWebP to JPGImagesWebP to PNGImagesAVIF to JPGImagesAVIF to PNGImagesBMP to PNGImagesImage FiltersImagesImage EffectsImagesPixelate ImageImagesBlur ImageImagesSharpen ImageImagesAdjust BrightnessImagesAdjust ContrastImagesAdjust SaturationImages