Skip to main content

HTTP Response Header Inspector

Inspect browser-readable HTTP responses and exposed headers; cross-origin and redirect visibility depends on browser CORS rules

HTTP Response Header Inspector

Inspect a browser-readable response and the headers its CORS policy exposes. Browsers follow redirects automatically and do not reveal intermediate hops to this page.

Example URLs:

This browser-only check cannot inspect targets that block CORS. Use the cURL command from your own terminal for a full redirect trace.

Final HTTP Response

No response inspected yet. Choose a URL and click Trace & Inspect.

Browser-Readable Response Headers
Header NameValue
Headers appear after the browser can read a response.
Browser-Visible Security Header Check
Awaiting response

0 of 6 checks can be verified from the headers visible to this browser. This checks header presence, not directive safety. Hidden headers are marked Not exposed; this count is not a complete security rating.

Security checks appear after a browser-readable response is available.

Was this HTTP Response Header Inspector helpful?

Help us keep tools reliable, fast, and bug-free.

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=visible

Example output

{"status":200,"headers":{"content-type":"application/json","x-easyutils-test":"visible"},"securityHeaders":{"verified":0,"present":0,"total":6}}

Practical workflow

  1. Enter a target URL or load the CORS demo preset, then click Trace & Inspect to make a browser GET request.
  2. Review the final response status and URL; fetch follows redirects automatically, so intermediate responses are not shown.
  3. Inspect the response headers that the target exposes to browser scripts. Hidden cross-origin headers are marked Not exposed.
  4. 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.dev

Sends 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/null

Follows 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 HeaderRecommended ValueSecurity Threat MitigatedOWASP CategoryBrowser Support
Strict-Transport-Security (HSTS)max-age=31536000; includeSubDomains; preloadMan-in-the-middle (MITM) and SSL-stripping attacksCryptographic Failures100% across all modern browsers
Content-Security-Policy (CSP)default-src 'self'; script-src 'self'; object-src 'none'Cross-Site Scripting (XSS) and data injectionInjection & XSSSupported across all modern browsers
X-Frame-OptionsDENY (or SAMEORIGIN)Clickjacking and UI redress attacksBroken Access ControlUniversally supported (Superseded by CSP frame-ancestors)
X-Content-Type-OptionsnosniffMIME-type sniffing and drive-by download attacksSecurity MisconfigurationUniversally supported across all browsers
Referrer-Policystrict-origin-when-cross-originLeaking sensitive URL paths in HTTP Referer headerInformation DisclosureUniversally 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.