Reference
HEAD
HEAD requests GET-like response metadata without a response body.
Meaning and purpose
HEAD requests GET-like response metadata without a response body.
How it works in context
An origin interprets the method and target, authenticates and authorizes where needed, then sends a status and optional representation. Intermediaries may cache, redirect or forward requests. Cookies hold browser state under origin-related rules; sessions commonly associate a token with server-side state. HTTP/2 uses streams over TCP, while HTTP/3 uses QUIC.
Operational checks and security
Inspect response fields and redirects, not only the final page. Cache-Control, Vary and authentication context affect caching safety. A successful TLS connection does not establish application authorization. Avoid placing secret tokens in URLs that may be logged or shared.
Read-only example
These commands inspect the surrounding system or protocol. They do not automatically change its configuration or establish every property of this term. Replace example targets only with destinations you are authorized to inspect.
curl -I https://example.com
curl -sS -D - -o /dev/null https://example.com
Sources and further reading
These explanations are educational. Implementations, policies and standards evolve; check the current specification and software version before changing a system.