HTTP Headers Reference
Searchable reference of 70+ HTTP headers (request, response, general). Includes examples and RFC specs. Free online — runs locally, no upload.
74 of 74 HTTP headers
General Headers (9)
Cache-ControlGeneralDirectives for caching mechanisms
no-cache, no-store, must-revalidateRFC 7234ConnectionGeneralControl whether the network connection stays open
keep-aliveRFC 7230DateGeneralDate and time the message was sent
Wed, 21 Oct 2026 07:28:00 GMTRFC 7231PragmaGeneralHTTP/1.0 cache control (legacy)
no-cacheTrailerGeneralFields in the trailer of a chunked message
ExpiresTransfer-EncodingGeneralForm of encoding used to safely transfer the body
chunkedRFC 7230UpgradeGeneralAsk the server to upgrade to another protocol
websocketViaGeneralIntermediate proxies and gateways
1.1 varnishWarningGeneralAdditional info about the message's status
199 Miscellaneous warningRequest Headers (29)
AcceptRequestMedia types the client can accept
application/json, text/htmlRFC 7231Accept-CharsetRequestCharacter sets the client accepts
utf-8, iso-8859-1Accept-EncodingRequestContent encodings the client accepts
gzip, deflate, brRFC 7231Accept-LanguageRequestPreferred natural languages
en-US,en;q=0.9,es;q=0.8RFC 7231AuthorizationRequestCredentials for HTTP authentication
Bearer eyJhbGciOi...RFC 7235CookieRequestStored HTTP cookies
session=abc123; theme=darkRFC 6265DNTRequestDo Not Track preference
1ExpectRequestExpectations the server needs to meet
100-continueForwardedRequestClient info altered by proxies
for=192.0.2.60;proto=httpsFromRequestEmail address of the user
user@example.comHostRequestDomain name of the server (required in HTTP/1.1)
api.example.comRFC 7230If-MatchRequestMake the request conditional on the ETag
"33a64df551425fcc55e4d42a148795d9f25f89d4"If-Modified-SinceRequestMake request conditional on modification date
Wed, 21 Oct 2026 07:28:00 GMTIf-None-MatchRequestMake request conditional on ETag mismatch
W/"67ab43"If-RangeRequestMake range request conditional on ETag/date
"33a64df551425fcc55e4d42a148795d9f25f89d4"If-Unmodified-SinceRequestMake request conditional on no modification
Wed, 21 Oct 2026 07:28:00 GMTMax-ForwardsRequestLimit the number of proxies/loops
5OriginRequestOrigin of the request (CORS)
https://example.comRFC 6454Proxy-AuthorizationRequestCredentials for proxy authentication
Basic dXNlcjpwYXNzRangeRequestRequest only part of the body
bytes=0-1023RefererRequestAddress of the previous page
https://example.com/pageTERequestTransfer encodings the client accepts
trailers, deflateUser-AgentRequestClient software identity string
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36RFC 7231X-Forwarded-ForRequestClient IP address through proxies
203.0.113.195, 70.41.3.18X-Forwarded-HostRequestOriginal Host header through proxy
example.comX-Forwarded-ProtoRequestOriginal protocol through proxy
httpsX-Requested-WithRequestOften used to identify AJAX requests
XMLHttpRequestX-CSRF-TokenRequestCSRF protection token
abc123def456X-API-KeyRequestAPI key for authentication
sk_test_123456789Response Headers (36)
Accept-RangesResponseWhether the server supports range requests
bytesAccess-Control-Allow-OriginResponseCORS: which origins may access the resource
https://example.com or *FetchAccess-Control-Allow-MethodsResponseCORS: permitted HTTP methods
GET, POST, PUT, DELETEAccess-Control-Allow-HeadersResponseCORS: permitted request headers
Content-Type, AuthorizationAccess-Control-Allow-CredentialsResponseCORS: allow credentials
trueAccess-Control-Expose-HeadersResponseCORS: headers the browser can expose
X-Custom-HeaderAccess-Control-Max-AgeResponseCORS: how long to cache preflight results
86400AllowResponseMethods the resource supports
GET, POST, HEADContent-DispositionResponseIndicates if content is inline or attachment
attachment; filename="report.pdf"RFC 6266Content-EncodingResponseEncoding used on the body
gzipRFC 7231Content-LanguageResponseLanguage of the audience
en-USRFC 7231Content-LengthResponseSize of the body in bytes
34851RFC 7230Content-LocationResponseAlternate location for the returned data
/docs/data.jsonContent-RangeResponseWhere in the full body this partial belongs
bytes 21010-47021/47022Content-Security-PolicyResponseCSP: restrict resource loading
default-src 'self'; script-src 'self'CSP3Content-TypeResponseMedia type of the resource
application/json; charset=utf-8RFC 7231Cross-Origin-Embedder-PolicyResponseControls cross-origin resource loading
require-corpCross-Origin-Opener-PolicyResponseIsolates browsing context group
same-originCross-Origin-Resource-PolicyResponseRestricts cross-origin resource access
same-siteETagResponseUnique identifier for the version
"33a64df551425fcc55e4d42a148795d9f25f89d4"RFC 7232ExpiresResponseDate/time after which the response is stale
Wed, 21 Oct 2026 07:28:00 GMTLast-ModifiedResponseDate the resource was last modified
Wed, 21 Oct 2026 07:28:00 GMTRFC 7232LocationResponseURL to redirect to (3xx responses)
https://example.com/new-pageRFC 7231Retry-AfterResponseSeconds to wait before retrying (429/503)
120ServerResponseServer software identity
nginx/1.25.3Set-CookieResponseSet an HTTP cookie
session=abc123; HttpOnly; Secure; SameSite=StrictRFC 6265Strict-Transport-SecurityResponseHSTS: force HTTPS
max-age=31536000; includeSubDomains; preloadRFC 6797VaryResponseHeaders that determine cached responses
Accept-Encoding, OriginWWW-AuthenticateResponseAuthentication scheme (401 responses)
Bearer realm="api"RFC 7235X-Content-Type-OptionsResponsePrevent MIME-sniffing
nosniffX-Frame-OptionsResponseControl framing/clickjacking
DENYX-Powered-ByResponseTechnology stack (often hidden for security)
ExpressX-RateLimit-LimitResponseRate limit quota
1000X-RateLimit-RemainingResponseRemaining requests in window
999X-RateLimit-ResetResponseWhen the rate limit resets (epoch)
1735689600X-XSS-ProtectionResponseLegacy XSS filter (deprecated, use CSP instead)
1; mode=block