About this tool
A quick reference for the headers you meet when building or debugging web apps, covering caching, CORS, cookies, authentication, conditional requests, proxies, client hints and security headers such as Content-Security-Policy, HSTS and the cross-origin isolation trio. Each entry says what the header does in one or two sentences and shows an example you can copy. Deprecated headers are flagged so you know what to remove.
How to use HTTP Headers Reference
- Search for a header name or a topic like caching.
- Filter by request or response headers.
- Pick a topic to see related headers together.
- Copy the example line and adapt it.
Frequently asked questions
Which security headers should every site send?
A good baseline is Strict-Transport-Security, Content-Security-Policy, X-Content-Type-Options: nosniff, Referrer-Policy and frame-ancestors in your CSP to stop clickjacking.
Are header names case-sensitive?
No. HTTP/1.1 treats them case-insensitively, and HTTP/2 and HTTP/3 send them in lowercase.
Why can't my JavaScript read a response header?
For cross-origin requests the browser hides most headers unless the server lists them in Access-Control-Expose-Headers.