Reference

Useful HTTP headers

Request and response headers that show up in APIs and proxies.

Request

Authorization
Bearer tokens or Basic auth.
Content-Type
Body media type.
Accept
Preferred response types.
If-None-Match
Conditional GET with ETags.

Response

Cache-Control
Caching policy for browsers and CDNs.
Location
Redirect or created resource URL.
Set-Cookie
Session cookies from the server.
Strict-Transport-Security
Force HTTPS on subsequent visits.

← All reference pages · Courses