Headers
Use a HEAD request to inspect the status, media type, and cache validators without downloading the response body.
Check response headers, inspect the negotiated protocol, and verify downloaded files from the command line.
curl -I https://static.laplacesc.com/
Use a HEAD request to inspect the status, media type, and cache validators without downloading the response body.
Ask curl to report the negotiated HTTP version instead of assuming the server selected HTTP/2.
Compare the SHA-256 of a saved file against a checksum obtained from a trusted source.
# Check the HTTP status and negotiated version
curl -fsS -o /dev/null -w '%{http_code} HTTP/%{http_version}\n' https://static.laplacesc.com/
# Save the response and print its SHA-256
curl -fsS -o page.html https://static.laplacesc.com/
shasum -a 256 page.html