Created
October 21, 2009 12:19
-
-
Save j4mie/215069 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Command to check whether a server returns a different headers for a HEAD request than a GET. | |
site=http://www.facebook.com; diff <(curl -I ${site}) <(curl -i ${site} | sed '/^\r$/ q') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment