⬅︎ Back to Do you curl a lot to check headers?
First of all, the difference is that "curl -v" is 7 characters. Just "c" is 1 character :)This matters if you type it a lot. Also, the -I means it does a HEAD request and the server might respond differently. For example the Content-Length header might be wrong/different.
Peter, thanks for the post. What's the difference you get from the above as opposed to running curl -v -I http://www.peterbe.com/ ?
Comment
First of all, the difference is that "curl -v" is 7 characters. Just "c" is 1 character :)
This matters if you type it a lot.
Also, the -I means it does a HEAD request and the server might respond differently. For example the Content-Length header might be wrong/different.
Parent comment
Peter, thanks for the post. What's the difference you get from the above as opposed to running curl -v -I http://www.peterbe.com/ ?