Difference between revisions of "Display HTTP response headers"
Jump to navigation
Jump to search
↑ https://stackoverflow.com/questions/3252851/how-to-display-request-headers-with-command-line-curl
| Line 10: | Line 10: | ||
* x-content-type-options: nosniff | * x-content-type-options: nosniff | ||
* <code>[[curl]] --insecure https://yourdomain.com</code> | * <code>[[curl]] --insecure https://yourdomain.com</code> | ||
| + | * <code>[[--header]]</code> | ||
== See also == | == See also == | ||
Revision as of 10:30, 27 January 2023
- Display HTTP response headers:
curl -v http://example.comcurl --insecure -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
Related terms
- x-content-type-options: nosniff
curl --insecure https://yourdomain.com--header
See also
wget,cURL,links,lynx,elinks,w3m,httpie, opensearch-cli curl,--no-check-certificate, wget --help
Advertising: