Created
January 15, 2013 22:37
-
-
Save garybernhardt/4542842 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
failbowl:~(master!?) $ # Curl with normal user agent; get the correct text back | |
failbowl:~(master!?) $ curl -s 'https://gist.github.com/raw/4534954/b508396cb255b52a0defbc75c92e69ad5c2937b5/gistfile1.rb' | head -1 | |
# I don't really see any services here. What I see is: | |
failbowl:~(master!?) $ # Curl as iPhone; get broken text back | |
failbowl:~(master!?) $ curl -s -A 'Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16' 'https://gist.github.com/raw/4534954/b508396cb255b52a0defbc75c92e69ad5c2937b5/gistfile1.rb' | head -1 | |
# I don't really see any services here. What I see is: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment