What HTTP Headers Tell You About a Website

Every web response carries a stack of HTTP headers — metadata about the response separate from the body. Most users never see them. For diagnostics, they're a goldmine: they reveal the server software, security posture, caching strategy, and (sometimes) which framework is behind the page.

The five headers worth inspecting

  1. Server. Identifies the web server. nginx/1.18.0 is a version-leak; cloudflare means the request hit a CDN edge.
  2. Strict-Transport-Security (HSTS). Tells the browser to never speak HTTP to this domain. Missing on production is a real gap.
  3. Content-Security-Policy. Restricts which scripts/styles/images the page can load. The most effective single header against XSS.
  4. X-Frame-Options. Prevents clickjacking by refusing to be loaded in an iframe.
  5. Cache-Control. Tells the browser and CDN how long to keep the response.

Our HTTP Header Inspector shows the full response set + a security-header audit.

Frequently asked questions

Is leaking the server version actually risky?

Marginally. Attackers can still fingerprint the server via behavior (response timing, error messages); hiding the version is defense in depth, not a real barrier.

Why does Cloudflare strip some headers?

Cloudflare normalizes responses through its edge. The Server header gets replaced with “cloudflare”; the origin's real version stays hidden.

Get one fundamentals article a week

DNS, IPs, email deliverability, TLS — explained for sysadmins and curious developers. No spam, unsubscribe in one click.