Skip to content

Instantly share code, notes, and snippets.

@ashaw
Created August 20, 2011 22:55
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ashaw/1159787 to your computer and use it in GitHub Desktop.
$ curl -I http://t.co/a87DAaC
HTTP/1.1 301 Moved Permanently
Date: Sat, 20 Aug 2011 22:53:39 GMT
Server: hi
Location: http://nyti.ms/p8ZGNT
Cache-Control: private,max-age=300
Expires: Sat, 20 Aug 2011 22:58:39 GMT
Connection: close
Content-Type: text/html; charset=UTF-8
$ curl -I http://t.co/a87DAaC -A "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_6) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30"
HTTP/1.1 200 OK
Date: Sat, 20 Aug 2011 22:54:16 GMT
Server: hi
Content-Type: text/html; charset=utf-8
Cache-Control: private,max-age=300
Expires: Sat, 20 Aug 2011 22:59:16 GMT
Vary: Accept-Encoding
Connection: close
$ curl http://t.co/a87DAaC -A "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_6) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30"
<noscript><META http-equiv="refresh" content="0;URL=http://nyti.ms/p8ZGNT"></noscript><script>location.replace("http:\/\/nyti.ms\/p8ZGNT")</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment