In roder to only get the headers of any HTTP request and response here is a smal command that does it well: Eg.
curl -sv http://my.website.com/index.html >/dev/null