DELTAWEB
HTTP Header Analysis

Header Inspector

Analyze the HTTP response headers of any URL: security headers (CSP, HSTS, XFO), redirect chain, caching policy, and security score.

A GET request is sent, and the body is not downloaded. Redirects are followed (max. 10).

Basics

What Are HTTP Headers?

HTTP headers are metadata pairs sent with every request and response between the browser and the server. They travel along with page content but are invisible to the user. They carry security, caching, content type, and server information.

6

Critical security header

HSTS, CSP, XFO, and more

~20-50

Average header count

In a typical HTTP response

100 points

Max. security score

When all headers are fully configured

< 1 ms

Cost of adding

Performance impact of adding headers

Security Headers

6 Critical Security Headers

HSTS
25 points

Strict-Transport-Security

Forces the browser to always connect to the site over HTTPS.

Example value:

max-age=31536000; includeSubDomains; preload

Without it, SSL stripping attacks may be possible.

CSP
25 points

Content-Security-Policy

Restricts which sources can load scripts, styles, and content.

Example value:

default-src 'self'; script-src 'self' 'nonce-…'

The strongest protection against XSS attacks and data leakage.

XFO
15 points

X-Frame-Options

Prevents the page from being displayed inside an iframe on other sites.

Example value:

DENY or SAMEORIGIN

Without it, clickjacking attacks may be possible.

XCTO
15 points

X-Content-Type-Options

Prevents the browser from guessing the file type (MIME sniffing).

Example value:

nosniff

When it is absent, uploaded files may be interpreted differently.

RP
10 points

Referrer-Policy

Determines which URL information will be sent when a user clicks a link.

Example value:

strict-origin-when-cross-origin

Sensitive URL parameters leaking to third parties.

PP
10 points

Permissions-Policy

Restricts access to browser APIs such as camera, microphone, and location.

Example value:

camera=(), microphone=(), geolocation=()

Malicious scripts can access sensitive hardware APIs.

Cache Management

Cache Headers and Performance

HeaderPurpose
Cache-ControlHow long the resource will be cached
ETagResource version identifier; used in conditional requests
Last-ModifiedThe resource's last modified date
VaryDetermines cache variation
ExpiresLegacy method; Cache-Control should be preferred
AgeHow many seconds the source has been in cache
Privacy

Headers That Should Be Removed or Hidden

Server: Apache/2.4.52

Issue: Server software and version are exposed; attackers may target known CVEs.

Solution:Remove version information: 'Server: Apache' or hide it completely.

X-Powered-By: PHP/8.1.0

Issue: Exposes the technology in use and its version.

Solution:Remove it with header_remove('X-Powered-By') or more_clear_headers in nginx.

X-AspNet-Version

Issue: .NET framework version is exposed.

Solution:In Web.config: <httpRuntime enableVersionHeader='false' />

X-XSS-Protection

Issue: Deprecated; if misconfigured, it may cause issues in newer browsers.

Solution:Remove it and replace it with a strong CSP policy.

FAQ

Frequently Asked Questions

We answer questions about HTTP headers, security policies, and this tool.

  • What is an HTTP header?

    HTTP headers are key-value pairs added to every HTTP request and response between the browser and the server. They are divided into request headers (sent by the browser to the server) and response headers (sent by the server to the browser). They are transmitted before page content; they carry metadata such as content type, language, caching, and security policies.

  • Why should I avoid adding security headers?

    Security headers are the cheapest measures for hardening a browser against attacks. CSP blocks XSS attacks, HSTS prevents SSL stripping, and X-Frame-Options blocks clickjacking. None of them affects performance; adding each one usually requires a single-line change in nginx/Apache configuration.

  • How do you configure Content-Security-Policy?

    A CSP policy consists of source directives. A basic starting point: \"Content-Security-Policy: default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:;\". Avoid using unsafe-inline and unsafe-eval. Nonce- or hash-based authorization is more secure. For third parties like Google Analytics, you need to explicitly list the relevant domain.

  • What does HSTS preload mean?

    HSTS preload adds your site to Chrome and Firefox's built-in HSTS list. For sites on this list, the browser connects directly over HTTPS without ever attempting an HTTP request. Requirements for inclusion: HTTPS must work, max-age must be at least 1 year, and the includeSubDomains and preload directives must be present. You can apply through hstspreload.org.

  • What is the difference between X-Frame-Options and CSP frame-ancestors?

    Both control whether a page can be loaded in an iframe. X-Frame-Options is an older standard; it offers DENY and SAMEORIGIN options. CSP frame-ancestors is more flexible: it can allow specific domains, and you can specify multiple sources. For modern applications, CSP frame-ancestors is preferred, but it is also recommended to add X-Frame-Options for legacy browser support.

  • What happens without a Referrer-Policy?

    If Referrer-Policy is not defined, the browser applies its default behavior; this is usually 'strict-origin-when-cross-origin'. In other words, the full URL is sent within the same site, while only the origin is sent when navigating to a different site. However, if the URL contains parameters with email, token, or personal information, those parameters may leak to third-party sites. 'strict-origin-when-cross-origin' or 'no-referrer' are the safest choices.

  • Does the Cache-Control header affect SEO?

    Yes. Googlebot respects your headers. If you set Cache-Control: no-cache or no-store, Googlebot may visit the page more often, but that is not always good; it puts strain on your server. For static assets (CSS, JS, images), a long max-age + immutable setting improves your Core Web Vitals score because the browser loads them from cache on repeat visits.

  • Does a redirect chain hurt SEO?

    A single 301 redirect has a minimal impact; PageRank is transferred to the new URL. However, redirect chains (A→B→C→D) can cause problems: each hop consumes Googlebot's crawl budget, reduces link equity, and increases page load time. Ideal: a one-time, direct redirect from each source to the final URL.

  • Does this tool send a HEAD or GET request?

    Header Inspector sends a GET request but does not download the response body. Since a HEAD request can return different headers on some servers, GET is preferred to see the real header set. The response body is terminated as soon as it starts arriving; therefore, even for large pages, data usage is minimal.

  • What can Permissions-Policy restrict?

    Permissions-Policy (formerly Feature-Policy) can control the following APIs: camera, microphone, geolocation, payment, usb, autoplay, fullscreen, clipboard-read, clipboard-write, display-capture, midi, and more. Example: \"Permissions-Policy: camera=(), microphone=(), geolocation=(self)\" — completely blocks access to the camera and microphone, and allows location access only from the same origin.

Found an issue? Let us fix it for you

We audit your site's technical SEO end to end, report the issues in priority order and fix them. The first review is free.

See our SEO service