HTTP Headers Reference
Search and explore HTTP request/response headers with descriptions and examples.
- Runs in your browser
Content-TypebothThe media type of the resource. Tells the recipient how to interpret the content.
application/json; charset=utf-8AcceptrequestMedia types the client can understand, used for content negotiation.
text/html, application/jsonAuthorizationrequestCredentials for authenticating the client with the server.
Bearer eyJhbGciOi...Cache-ControlbothDirectives for caching mechanisms in both requests and responses.
no-cache, no-store, must-revalidateContent-LengthbothThe size of the request/response body in bytes.
348Content-EncodingbothAny encodings applied to the content (compression).
gzipCookierequestStored cookies previously sent by the server via Set-Cookie.
session=abc123; theme=darkSet-CookieresponseSend cookies from the server to be stored by the client.
session=abc123; HttpOnly; Secure; SameSite=LaxCORS HeadersresponseAccess-Control-Allow-Origin, Methods, Headers — control cross-origin access.
Access-Control-Allow-Origin: *ETagresponseAn identifier for a specific version of a resource, used for caching.
"33a64df551425fcc55e"HostrequestThe domain name of the server (required in HTTP/1.1).
example.comIf-None-MatchrequestMakes the request conditional — returns 304 if the ETag still matches.
"33a64df551425fcc55e"LocationresponseThe URL to redirect to (used with 3xx status codes).
https://example.com/new-pageOriginrequestThe origin (scheme, host, port) that triggered the request.
https://example.comRefererrequestThe address of the previous page from which this request was made.
https://example.com/previous-pageServerresponseInformation about the server software.
nginx/1.21.0User-AgentrequestInformation about the client (browser, OS, version).
Mozilla/5.0 (Windows NT 10.0...)X-Forwarded-ForrequestThe originating client IP when behind a proxy or load balancer.
203.0.113.50, 70.41.3.18X-Frame-OptionsresponseWhether the page can be displayed in an iframe (clickjacking protection).
DENYX-Content-Type-OptionsresponsePrevents MIME-sniffing — forces the declared Content-Type.
nosniffStrict-Transport-SecurityresponseTells the browser to always use HTTPS for this domain.
max-age=31536000; includeSubDomainsX-XSS-ProtectionresponseEnables the browser's built-in XSS filtering (deprecated in modern browsers).
1; mode=blockReferrer-PolicyresponseControls how much referrer information is sent with requests.
strict-origin-when-cross-originContent-Security-PolicyresponseDefines allowed sources for scripts, styles, images and other resources.
default-src 'self'; script-src 'self' cdn.example.comWas this tool useful?