
How to Make a HEAD Request with curl
`curl -I` sends a HEAD request. `curl -X HEAD` looks like it should do the same and does something subtly broken, which is a fine way to lose twenty minutes to a hanging terminal. The curl manual says so directly, and the reason is worth understanding because it applies to every method you might set by hand. This guide covers the correct syntax, the specification's rules about what servers may omit, and the cases where a HEAD tells you something a GET would not.

Geonode Team
Published: 2026-09-02






