環境
- curl 8.4.0
コマンド
curl -D - -s -o /dev/null https://turai.work/ HTTP/2 200 server: GitHub.com content-type: text/html; charset=utf-8 last-modified: Sat, 10 Feb 2024 03:16:49 GMT access-control-allow-origin: * etag: "65c6eaa1-2a4" expires: Thu, 15 Feb 2024 15:41:47 GMT cache-control: max-age=600 x-proxy-cache: MISS x-github-request-id: C156:D7C00:576E26:5B511C:65CE2E62 accept-ranges: bytes date: Thu, 15 Feb 2024 15:34:05 GMT via: 1.1 varnish age: 138 x-served-by: cache-nrt-rjtf7700027-NRT x-cache: HIT x-cache-hits: 1 x-timer: S1708011245.076461,VS0,VE1 vary: Accept-Encoding x-fastly-request-id: 338345ae2b807466a480b2dc413b92b7cd8ab26b content-length: 676
エイリアスに設定した
alias curl_header='curl -D - -s -o /dev/null'