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-Optionsheader. - Marked
X-Content-Security-Policyas a deprecated version of theContent-Security-Policyheader and provided a more comprehensive breakdown of Content Security Policy (CSP) directives. - Improved the validation for CORS-related headers:
Access-Control-Expose-HeadersandAccess-Control-Max-Age. - Expanded the explanation of the
Cross-Origin-Resource-Policyheader, covering its possible values. - Added support for the
Timing-Allow-Originheader. - Clarified the
X-Runtimeheader, 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-Headerheader. - Improved details for
X-Forwarded-For. - Refined the explanations for
Cache-Controldirectives likePublic,Private, andNo-Cache. - Expanded the explanation for the
Varyheader and its impact on caching behavior. - Added an explanation for the
Retry-Afterheader. - Updated the explanation for the legacy
X-XSS-Protectionheader. - Added an explanation for the Akamai-specific
Akamai-Age-MSheader.
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