Make a HEAD request to inspect headers.

Section: HTTP and TLS Testing

Fetch response headers

bash
bash
curl -I https://example.com
Explanation

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
Verbose HTTP request
Display request and response details.
OpenIn sheetbashsame section
Send request from interface
Use a specific local interface for outbound traffic.
OpenIn sheetbashsame section
Use an HTTP proxy
Send an HTTP request through a proxy.
OpenIn sheetbashsame section
Override DNS for one request
Pin a host:port to a chosen IP address.
OpenIn sheetbashsame section
Test URL availability
Check whether a URL is reachable without downloading content.
OpenIn sheetbashsame section
Inspect TLS certificate chain
Open a TLS session and print certificate details.
OpenIn sheetbashsame section