Skip to main content

HTTP response header checker

Inspect live HTTP response headers, evaluate OWASP security headers (HSTS, CSP, X-Frame-Options), and audit captive portal redirect headers.

Check a URL's HTTP response headers

Try live target:

Probes are executed server-side from Purple edge network infrastructure. Response headers represent external client inspection without browser cache interference.

Why response headers matter for web security and captive portals

HTTP response headers control caching policies, redirect behaviors, content mime types, and the defensive security posture of web applications and captive portals. For venue splash pages and guest WiFi networks, missing security headers or misconfigured HSTS preloading can trigger severe browser SSL warnings or break captive network redirection. This tool performs a server-side probe of any target URL, parses all raw response headers, and grades key OWASP security protections.

What this tool analyses

  • Critical security headers including HSTS, Content-Security-Policy, X-Frame-Options, and X-Content-Type-Options.
  • HTTP status codes, redirect locations (301, 302, 307, 308), and captive portal API compatibility (RFC 8908).
  • Server software disclosure, caching headers (Cache-Control, ETag), and privacy policies (Referrer-Policy, Permissions-Policy).
Security standard reference

OWASP security headers benchmark and directives

Web servers and captive portal splash pages must deploy hardening headers to prevent data interception, credential theft, and script injection. The table below outlines the core security headers defined by OWASP and IETF standards:

Header nameSpecificationRecommended directiveRisk if missing
Strict-Transport-Security (HSTS)RFC 6797max-age=31536000; includeSubDomains; preloadCritical
Content-Security-Policy (CSP)W3C CSP Level 3default-src 'self'; script-src 'self' https:; object-src 'none';Critical
X-Frame-OptionsRFC 7034DENY or SAMEORIGINHigh
X-Content-Type-OptionsFetch SpecnosniffHigh
Referrer-PolicyW3C Referrer Policystrict-origin-when-cross-originMedium
Permissions-PolicyW3C Draftcamera=(), microphone=(), geolocation=()Medium
Cross-Origin-Opener-Policy (COOP)HTML Specsame-originLow
Enterprise network architecture

Captive portal HTTP response codes and redirect mechanics

Captive network assistants (such as Apple iOS CNA, Android CaptivePortalLogin, and Windows NCSI) probe specific HTTP endpoints upon WiFi association. Understanding HTTP response codes ensures seamless visitor onboarding without triggering certificate warnings:

HTTP 200 OK
Authenticated Browsing & Portal Assets

The client has authenticated or is loading portal stylesheets/scripts. Requires correct Content-Type.

HTTP 302 Found
Legacy Captive Portal Interception

Standard HTTP redirect sent by wireless controllers to route unauthenticated devices to splash page.

HTTP 307 Temporary Redirect
Method-Preserving Redirection

Ensures POST requests and payload bodies remain intact without downgrading to GET requests.

RFC 8908 JSON
application/captive+json Endpoint

Returns machine-readable JSON indicating captive state, login URL, and seconds remaining without HTTP interception.

Technical FAQ

Frequently asked questions

Why does HSTS preloading break captive portal login pages on public guest WiFi?

HTTP Strict Transport Security (HSTS) with the preload directive instructs browsers to refuse unencrypted HTTP connections and disallow certificate error overrides. When a guest connects to WiFi and attempts to open an HSTS-preloaded domain (such as google.com), the wireless controller's HTTP interception cannot present a valid certificate for that domain. The browser displays a hard SSL warning instead of redirecting to the captive portal. Modern networks use RFC 8908 Captive Portal API or Apple/Android captive portal probe domains (such as captive.apple.com) which intentionally omit HSTS.

What Content-Security-Policy (CSP) headers are recommended for captive portal splash pages?

Captive portal splash pages require a balanced CSP that allows essential authentication assets while preventing cross-site scripting (XSS). The policy should permit scripts and styles from trusted CDNs and social login identity providers (such as Google, Apple, and Microsoft), while restricting default-src 'self' and disallowing untrusted inline script execution. In addition, social auth redirect domains must be whitelisted in the network controller's Walled Garden.

How does X-Frame-Options protect guest WiFi login forms from clickjacking?

The X-Frame-Options: DENY or SAMEORIGIN header (and the modern CSP frame-ancestors directive) prevents malicious third-party websites from rendering the captive portal login form inside an invisible iframe. This eliminates clickjacking attacks where attackers trick visitors into submitting login credentials or social authorization tokens.

What is the difference between HTTP 302 and HTTP 307 redirects in captive portal workflows?

An HTTP 302 Found redirect is commonly used by legacy network controllers to redirect initial HTTP requests to the splash page URL, but clients may switch POST requests to GET. An HTTP 307 Temporary Redirect guarantees that the HTTP method and request body remain unchanged during redirection. For modern captive networks, RFC 8908 provides a standardized JSON endpoint that eliminates HTTP interception entirely.

Why is X-Content-Type-Options: nosniff essential for enterprise web applications?

The X-Content-Type-Options: nosniff header forces browsers to adhere strictly to the MIME type declared in the Content-Type header. This prevents MIME-sniffing attacks where user-uploaded files or malicious text snippets are executed as executable JavaScript or CSS in vulnerable browsers.

How do Permissions-Policy headers enhance visitor privacy on public WiFi portals?

Permissions-Policy (formerly Feature-Policy) allows site operators to disable sensitive hardware APIs such as camera, microphone, geolocation, and payment request within the browser context. Disabling unused device features on guest WiFi landing pages reassures visitors that the portal respects data privacy standards.

Related network diagnostic tools

Explore companion WiFi and infrastructure tools

Securing captive portal traffic across enterprise networks?

Headers are one defensive layer. Purple manages enterprise captive portal hosting, SSL/TLS certificates, and compliant redirect architecture across Cisco Meraki, HPE Aruba, Ruckus, and Juniper Mist.

Book a 20-min demo
Free Desktop App

Netforge Network Multi-Tool

Run offline network health checks, path analysis, and latency diagnostic scans directly from your desktop.

Download Multi-Tool