What you can do with HTTP Response Header Inspector
- Inspect browser-readable http response headers
- Check security headers exposed to the browser
- Copy a curl command for terminal-based redirect inspection
What this network diagnostic measures
Inspect a final HTTP response and the headers a CORS policy makes readable to browser scripts; intermediate redirect responses and hidden headers are not available to this page.
Example input
https://httpbin.org/response-headers?Access-Control-Expose-Headers=X-EasyUtils-Test&X-EasyUtils-Test=visibleExample output
{"status":200,"headers":{"content-type":"application/json","x-easyutils-test":"visible"},"securityHeaders":{"verified":0,"present":0,"total":6}}Practical workflow
- Enter a target URL or load the CORS demo preset, then click Trace & Inspect to make a browser GET request.
- Review the final response status and URL; fetch follows redirects automatically, so intermediate responses are not shown.
- Inspect the response headers that the target exposes to browser scripts. Hidden cross-origin headers are marked Not exposed.
- Use the generated cURL command in your own terminal when you need full redirect-chain or raw-header visibility.
Common use cases
- Checking which response headers a CORS-enabled API makes available to browser clients.
- Confirming the final status and URL that a browser-readable request returns after redirects.
- Reviewing security headers that a target explicitly exposes through Access-Control-Expose-Headers.
Important notes and limitations
- This page makes a GET request directly from the browser and does not use a server proxy. A target that blocks CORS cannot be inspected here; no sample or simulated result is substituted.
- Browser fetch follows redirects and exposes only the final response. Cross-origin security headers may be hidden; the tool marks them Not exposed and counts only headers that the browser can verify.
- The security check reports header presence only. It does not validate directive strength; review HSTS includeSubDomains and preload requirements before applying them.
- The cURL command is copied for you to run in your own terminal; this page does not execute it or claim terminal results.
cURL & HTTP header inspection commands
cURL inspect HTTP response headers only
curl -sI https://easyutils.devSends an HTTP HEAD request and prints all response headers returned by the server.
cURL follow redirects and print all header stages
curl -sSL -D - https://easyutils.dev -o /dev/nullFollows all 301/308 redirects and prints headers for every intermediate hop.
Test CORS preflight response headers with cURL
curl -sI -X OPTIONS https://api.example.com -H 'Origin: https://easyutils.dev' -H 'Access-Control-Request-Method: POST'Simulates a browser CORS preflight OPTIONS request to verify Access-Control-Allow-* headers.
Essential HTTP Security Headers & Policy Reference
| Security Header | Recommended Value | Security Threat Mitigated | OWASP Category | Browser Support |
|---|---|---|---|---|
| Strict-Transport-Security (HSTS) | max-age=31536000; includeSubDomains; preload | Man-in-the-middle (MITM) and SSL-stripping attacks | Cryptographic Failures | 100% across all modern browsers |
| Content-Security-Policy (CSP) | default-src 'self'; script-src 'self'; object-src 'none' | Cross-Site Scripting (XSS) and data injection | Injection & XSS | Supported across all modern browsers |
| X-Frame-Options | DENY (or SAMEORIGIN) | Clickjacking and UI redress attacks | Broken Access Control | Universally supported (Superseded by CSP frame-ancestors) |
| X-Content-Type-Options | nosniff | MIME-type sniffing and drive-by download attacks | Security Misconfiguration | Universally supported across all browsers |
| Referrer-Policy | strict-origin-when-cross-origin | Leaking sensitive URL paths in HTTP Referer header | Information Disclosure | Universally supported |
HTTP header configuration & security troubleshooting
Refused to execute inline script because it violates Content-Security-Policy
Cause: Target server sets a strict CSP without 'unsafe-inline' or matching script cryptographic nonces/hashes.
Solution: Move inline script code to external bundled files or add cryptographic sha256 hashes to the script-src CSP directive.
CORS error: The value of 'Access-Control-Allow-Origin' must not be wildcard when credentials flag is true
Cause: Target API sets 'Access-Control-Allow-Credentials: true' but simultaneously sends 'Access-Control-Allow-Origin: *'.
Solution: When allowing credentials (cookies, Authorization headers), echo the exact requesting origin rather than wildcard '*'.
Browser locked to HTTPS after visiting development site (HSTS Preload)
Cause: HSTS header sent on localhost or development domain with 'includeSubDomains' and long max-age.
Solution: Clear the HSTS cache in Chrome via chrome://net-internals/#hsts or Safari preferences.
Continue your workflow
- API Request Tester — Send custom HTTP requests and inspect live status codes and response bodies.
- SSL Certificate Generator — Generate local SSL certificates to test HTTPS security headers in development.
- DNS Lookup — Query authoritative DNS records and inspect domain resolution before testing HTTP headers.
- cURL to Code — Export authenticated HTTP requests into production client code snippets.
- User Agent Parser — Parse and inspect client browser, device, and operating system identity from User-Agent headers.
Frequently asked questions
What does this browser-based response header check inspect?
It sends a GET request from your browser and shows the final response status and headers that the target permits browser scripts to read. It does not retrieve a raw response through a proxy.
Why does a security header show as Not exposed?
Cross-origin browser requests can hide response headers unless the server lists them in Access-Control-Expose-Headers. The tool cannot treat a hidden header as missing and reports the number of visible checks instead of an overall security score.
Can this page show every response in a redirect chain?
No. Browser fetch follows redirects and gives the page the final response; intermediate redirect responses are not exposed to this tool. Run the copied cURL command in your own terminal for a full redirect trace.
What happens when the target blocks CORS?
The browser prevents this page from reading the response. The tool shows an error and no status or headers rather than substituting sample data.