Trans women are women. Trans rights are human rights. Fix your heart or die.

Quickly checking HTTP response headers

Duration
1 minute read
Last Updated
May 2025
Topics
  • code snippet
  • http

Fastest cleanest way if you’re a Terminal Enjoyer™ is with curl:

curl -I https://henry.codes/

The -I flag, short for --head, includes only HTTP headers in the output. Here’s a tidy little curl cheat sheet for you; don’t spend it all in one place.

But if you prefer using a browser dev inspector, you can go Inspector > Network > HTML > [the current page] and scroll to Response Headers.

A screenshot of a browser window as described, requesting the homepage of henry.codes and revealing its relevant HTTP headers in the right-side inspector panel.