Skip to content

Instantly share code, notes, and snippets.

@al3xandru
Created May 24, 2014 19:04
Show Gist options
  • Save al3xandru/76d1239bac9bf4fe4729 to your computer and use it in GitHub Desktop.
Save al3xandru/76d1239bac9bf4fe4729 to your computer and use it in GitHub Desktop.
Twitter shorten links
al3xandru $ curl -I -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.76.4 (KHTML, like Gecko) Version/7.0.4 Safari/537.76.4" http://t.co/QgPZfAwK0z
HTTP/1.1 200 OK
cache-control: private,max-age=300
content-length: 0
content-type: text/html; charset=utf-8
date: Sat, 24 May 2014 19:00:20 GMT
expires: Sat, 24 May 2014 19:05:20 GMT
server: tfe
set-cookie: muc=acc5d3c2-431f-4f4d-84ba-7e48d3c7edbd;Domain=t.co;Expires=Thu, 05-May-2016 19:00:20 GMT
x-xss-protection: 1; mode=block
al3xandru $ curl -I http://t.co/QgPZfAwK0z
HTTP/1.1 301 Moved Permanently
cache-control: private,max-age=300
content-length: 0
date: Sat, 24 May 2014 19:03:28 GMT
expires: Sat, 24 May 2014 19:08:28 GMT
location: http://www.technologyreview.com/view/527336/do-we-need-asimovs-laws/
server: tfe
set-cookie: muc=2e312573-4094-4fbe-be95-e89b79995850;Domain=t.co;Expires=Thu, 05-May-2016 19:03:28 GMT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment