HTTP Header Analyzer update - September 2024
My HTTP Header Analyzer continues to be used a lot. Last week, I received a bug report, so I decided to look into it over the weekend. One thing led to another, and I ended up making a slew of improvements:
- Clarified the explanations for various Cloudflare headers, including
CF-Edge-Cache
,CF-APO-Via
,CF-BGJ
,CF-Polish
,CF-Mitigated
,CF-Ray
,CF-Request-ID
,CF-Connecting-IP
, andCF-IPCountry
. - Added support for new headers:
X-Logged-In
,X-Hacker
,X-Vimeo-Device
, andOrigin-Agent-Cluster
. - Improved checks and explanations for cache-related headers, including
X-Cache
,X-Cache-Status
, andX-Varnish
. - Expanded the validation and explanation for the
X-Content-Type-Options
header. - Marked
X-Content-Security-Policy
as a deprecated version of theContent-Security-Policy
header and provided a more comprehensive breakdown of Content Security Policy (CSP) directives. - Improved the validation for CORS-related headers:
Access-Control-Expose-Headers
andAccess-Control-Max-Age
. - Expanded the explanation of the
Cross-Origin-Resource-Policy
header, covering its possible values. - Added support for the
Timing-Allow-Origin
header. - Clarified the
X-Runtime
header, which provides timing information for server response generation. - Expanded the explanations for TLS and certificate-related headers:
Strict-Transport-Security
,Expect-Staple
, andExpect-CT
. - Added an explanation for the
Host-Header
header. - Improved details for
X-Forwarded-For
. - Refined the explanations for
Cache-Control
directives likePublic
,Private
, andNo-Cache
. - Expanded the explanation for the
Vary
header and its impact on caching behavior. - Added an explanation for the
Retry-After
header. - Updated the explanation for the legacy
X-XSS-Protection
header. - Added an explanation for the Akamai-specific
Akamai-Age-MS
header.
HTTP headers are crucial for web application functionality and security. While some are commonly used, there are many lesser-known headers that protect against security vulnerabilities, enforces stronger security policies, and improves performance.
To explore these headers further, you can try the latest HTTP Header Analyzer. It is pretty simple to use: enter a URL, and the tool will analyze the headers sent by your website. It then explains these headers, provides a score, and suggests possible improvements.
— Dries Buytaert
Dries Buytaert is an Open Source advocate and technology executive. More than 10,000 people are subscribed to his blog. Sign up to have new posts emailed to you or subscribe using RSS. Write to Dries Buytaert at dries@buytaert.net.