如何检查HTTP响应头

$ curl -I [URL]

Command
curl
Description
仅获取头信息(HEAD请求)。用法:curl -I https://example.com
Deep Dive
-I: 仅获取HTTP头信息。