Make a HEAD request to inspect headers.
Section: HTTP and TLS Testing
Fetch response headers
bash
bash
curl -I https://example.comExplanation
Make a HEAD request to inspect headers.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing HTTP and TLS Testing
Send request from interface
Use a specific local interface for outbound traffic.
Test URL availability
Check whether a URL is reachable without downloading content.
Inspect TLS certificate chain
Open a TLS session and print certificate details.