curl:check_http_headers
This is an old revision of the document!
Curl - Check HTTP Headers
curl -Ls -o /dev/null -D - sharewiz.net
- -L Follow redirects
- -s Silent mode. Don't show progress meter or error messages.
- -D Write the protocol headers to the specified file.
Returns:
HTTP/1.1 200 OK Server: nginx Date: Fri, 01 Jul 2016 23:24:21 GMT Content-Type: text/html Content-Length: 28277 Last-Modified: Thu, 30 Jun 2016 23:16:03 GMT Connection: keep-alive ETag: "5775a833-6e75" Accept-Ranges: bytes
curl/check_http_headers.1467415501.txt.gz · Last modified: 2020/07/15 09:30 (external edit)