Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.