๐ก๏ธHTTP Status & Headers Inspector Documentation & Guide
๐How to Audit Headers & Inspect Codes
- Select Mode: Choose between Response Headers Security Audit to test your server's defensive headers, or RFC Status Code Explorer for semantic status lookup.
- Input Data: Paste raw HTTP response headers (from cURL, Chrome DevTools, or Postman) or select a status code from the dropdown.
- Inspect Security Grade: In Headers mode, review your security score (A+ to F) and check which defense headers (HSTS, CSP, X-Frame-Options, nosniff) are missing.
- Verify Caching & Idempotence: In Status Code mode, verify whether the selected code is natively cacheable by proxies or safe for automated retry logic.
- Export Report: Click ๐ Copy to copy the diagnostic summary to your clipboard.
โ๏ธCore Security Headers Baseline (OWASP)
OWASP and Mozilla recommend five foundational defense-in-depth HTTP headers for all production HTTPS origins:
max-age=31536000; includeSubDomains; preload forces HTTPS and blocks SSL stripping attacks.default-src 'self' restricts unauthorized script injection (XSS mitigation).nosniff prevents browsers from executing non-script MIME types as JavaScript.DENY or SAMEORIGIN prevents clickjacking attacks inside malicious iframes.strict-origin-when-cross-origin protects sensitive URL query parameters from leaking to third parties.๐กProduction & SEO Impact
- 301 vs. 302 vs. 308: Always use
301 Moved Permanentlyor308 Permanent Redirectfor canonical URL restructuring to preserve search engine ranking equity. - Rate Limiting (429): Pair
429 Too Many Requestswith aRetry-Afterheader in seconds to help well-behaved crawlers back off cleanly. - Static Asset Caching (304): Ensure your web server responds with
304 Not Modifiedon conditional GETs matching theIf-None-MatchETag to save bandwidth.