Display HTTP response headers
Revision as of 10:07, 22 January 2020 by Welcome (talk | contribs) (Created page with "* Display HTTP response headers: : <code>curl -sD - -o /dev/null http://example.com</code><ref>https://stackoverflow.com/questions/3252851/how-to-display-request-headers-w...")
curl -sD - -o /dev/null http://example.com
[1]- -s Avoid showing progress bar
- -D Dump headers to a file, but - sends it to stdout
- -o /dev/null Ignore response body
Advertising: