4 ms·
curl for checking http headers simply with: curl -vskL http:1.2.3.4 -H "Host: example.com" > /dev/null
by mistat 11y ago
curl for checking http headers simply with: curl -vskL http:1.2.3.4 -H "Host: example.com" > /dev/null
- ce4 11y agoWhy don't you just use the -I flag?
- mistat 11y agoFor some sites a HEAD may return different headers than GET, so it is safer to return the results in full. Also using vsk shows the request headers, including IP so you can easily see if things such as roundrobin DNS is in use, again to assist with debugging.