HTTP Headers Checker

Redirect chain

  1. 301
    http://gov.uk/ Moved Permanently · HTTP/1.1 · 62 ms · 151.101.192.144
  2. 301
    https://gov.uk/ · HTTP/2 · 83 ms · 151.101.192.144
  3. 200
    https://www.gov.uk/ · HTTP/2 · 360 ms · 146.75.92.144
  • HTTP redirects to HTTPS with a permanent (301) redirect.
  • The page is compressed (br).

Security headers

A+100/100
  • Strict-Transport-Security Set for 365 days, preload-ready.
  • Content-Security-Policy Set. Controls where scripts, styles and other content can load from.
  • X-Frame-Options Set to SAMEORIGIN. Stops other sites showing this one inside a frame (clickjacking).
  • X-Content-Type-Options Set to nosniff. Stops browsers guessing file types, which can be abused.
  • Referrer-Policy Set to strict-origin-when-cross-origin. Controls how much of the page address is shared when visitors click away.
  • Permissions-Policy Set. Restricts features like camera, microphone and location.

Response headers (final page)

Status200
content-typetext/html; charset=utf-8
servernginx
cache-controlmax-age=300, public
content-security-policydefault-src 'self'; base-uri 'none'; script-src 'self' www.google-analytics.com ssl.google-analytics.com stats.g.doubleclick.net www.googletagmanager.com www.region1.google-analytics.com region1.google-analytics.com www.google.co.uk analytics.google.com *.analytics.google.com www.google.com www.gstatic.com *.ytimg.com www.youtube.com www.youtube-nocookie.com 'nonce-te7sI28prayduAJpj3J9tw=='; style-src 'self' www.gstatic.com; font-src 'self'; object-src 'none'; frame-src 'self' *.publishing.service.gov.uk www.gov.uk *.dev.gov.uk www.youtube.com www.youtube-nocookie.com; frame-ancestors 'self' *.publishing.service.gov.uk www.gov.uk *.dev.gov.uk; report-uri https://csp-reporter.publishing.service.gov.uk/report; img-src 'self' *.publishing.service.gov.uk www.gov.uk *.dev.gov.uk www.google-analytics.com ssl.google-analytics.com stats.g.doubleclick.net www.googletagmanager.com www.region1.google-analytics.com region1.google-analytics.com www.google.co.uk analytics.google.com *.analytics.google.com www.google.com lux.speedcurve.com assets.digital.cabinet-office.gov.uk https://img.youtube.com https://i.ytimg.com https://tiles.openfreemap.org data:; connect-src 'self' *.publishing.service.gov.uk www.gov.uk *.dev.gov.uk www.google-analytics.com ssl.google-analytics.com stats.g.doubleclick.net www.googletagmanager.com www.region1.google-analytics.com region1.google-analytics.com www.google.co.uk analytics.google.com *.analytics.google.com www.google.com lux.speedcurve.com beacon.speedcurve.com https://tiles.openfreemap.org data:
etagW/"24f35d1b1f219f42a2758df68085525c"
link</assets/frontend/views/_homepage-fb5a9ea1f5f85a43a13979eb3e7b280f5458c2d290a3455a98823d3b5fe11c83.css>; rel=preload; as=style; nopush,</assets/frontend/govuk_publishing_components/vendor/lux/lux-measurer-d66192b1b665d415e1874e49a48138b7ae339548aa6cdb8687c7f9933e72b969.js>; rel=preload; as=script; nopush,</assets/frontend/govuk_publishing_components/rum-custom-data-b9e1806d1da2fa8ef1855d01aa71ba5eb0afc010dd2c4de3672cc7c7a39b0c8c.js>; rel=modulepreload; as=script; nopush,</assets/frontend/govuk_publishing_components/rum-loader-a65b10e18ceeba3bd8a2eac507c7f2c513cdc82f35097df903fdea87f1dc2e33.js>; rel=preload; as=script; nopush,</assets/frontend/govuk_publishing_components/load-analytics-d5c92d4ce9f98141170a466427da86ca1ff62f234637bf0776121e6df57b3b67.js>; rel=modulepreload; as=script; nopush,</assets/frontend/application-ad55f533090cfd6b0febe2ee40e92e4de4a9efb50d007174cf763239a116750f.css>; rel=preload; as=style; nopush
permissions-policyinterest-cohort=()
referrer-policystrict-origin-when-cross-origin
via1.1 router, 1.1 varnish
x-content-type-optionsnosniff
x-frame-optionsSAMEORIGIN
x-permitted-cross-domain-policiesnone
x-request-ideefc05f8-fbc4-4010-b894-27852ede9bea
x-runtime0.031603
x-xss-protection0
fastly-backend-nameorigin
content-encodingbr
accept-rangesbytes
dateFri, 04 Dec 2026 17:05:31 GMT
age26
strict-transport-securitymax-age=31536000; preload
server-timingcacheHit
x-served-bycache-bur-kbur8200110-BUR
x-cacheHIT
x-cache-hits1
x-timerS1796403931.177547,VS0,VE1
varyX-Requested-With, Accept-Encoding
alt-svch3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
content-length11262
Show headers for the 2 redirects

301 · http://gov.uk/

Connectionclose
Content-Length0
ServerVarnish
Retry-After0
Locationhttps://gov.uk/
Fastly-Backend-Nameforce_ssl
Accept-Rangesbytes
DateFri, 04 Dec 2026 17:05:30 GMT
X-Varnish2374904430
Via1.1 varnish

301 · https://gov.uk/

serverVarnish
retry-after0
locationhttps://www.gov.uk/
strict-transport-securitymax-age=63072000; preload
accept-rangesbytes
dateFri, 04 Dec 2026 17:05:30 GMT
x-varnish18480346
via1.1 varnish
content-length0

What are HTTP headers?

Every time a browser asks for a web page, the server replies with a status code and a set of headers before the page itself. Headers carry instructions and information you never see on screen: what type of content is coming, how long it can be cached, whether it's compressed, where to go instead (a redirect), and which security rules the browser should enforce.

Status codes

200
OK – the page was found and sent.
301 / 308
Moved permanently – the page now lives at a new address. Search engines move their listing across.
302 / 307
Moved temporarily – go here for now, but keep the old address.
403
Forbidden – the server refused the request.
404
Not found – nothing exists at that address.
500 / 502 / 503
Server errors – something went wrong on the website's side, or it's overloaded.

Why redirects matter

A site should send anyone who types http:// straight to the secure https:// version, ideally with a single permanent (301) redirect. Long chains – http to https to www to a language folder – each add a round trip and slow the first visit down. They can also lose search ranking if temporary redirects are used where permanent ones should be.

Security headers explained

These headers tell the browser to switch on extra protection. They cost nothing and are usually a few lines in the web server configuration or .htaccess file.

How is the grade worked out?

Each security header is worth points (HSTS and CSP 25 each, X-Frame-Options and X-Content-Type-Options 15 each, Referrer-Policy and Permissions-Policy 10 each), giving a score out of 100 and a grade from A+ to F. Sites not using HTTPS are capped at a low grade. It's a quick guide to how well a site uses the protection browsers offer – not a full security audit.

More free tools