see headers with curl code example
Example: curl check response headers
Just use '-ISs' flag options I:(only headers), sS:(silence and no errors)
curl www.example -ISs
Just use '-ISs' flag options I:(only headers), sS:(silence and no errors)
curl www.example -ISs