#headers
5 one-liners with this tag.
All one-liners tagged headers
Check the browser caching headers of a file
$curl -sI https://example.com/wp-includes/css/dist/block-library/style.min.css | grep -iE "^(cache-control|expires|etag|last-modified|age):"
Check the X-Robots-Tag header of a URL
$curl -s -o /dev/null -D - https://example.com/ | grep -i '^x-robots-tag'
Check whether a website sends the HSTS header
$curl -sI https://example.com/ | grep -i "^strict-transport-security"
Detect the web server and PHP version from HTTP headers
$curl -sI https://example.com/ | grep -iE "^(server|x-powered-by|via):"
Show the HTTP response headers of a website
$curl -sSI https://example.com/