Skip to content

Instantly share code, notes, and snippets.

@kgaughan
Created February 25, 2014 12:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kgaughan/9207738 to your computer and use it in GitHub Desktop.
Save kgaughan/9207738 to your computer and use it in GitHub Desktop.
Stack overflow redirects.
$ curl --head http://www.podtrac.com/pts/redirect.mp3/feeds.soundcloud.com/stream/135361168-stack-exchange-stack-exchange-podcast-54.mp3
HTTP/1.1 302 Found
Content-Length: 206
Location: http://feeds.soundcloud.com/stream/135361168-stack-exchange-stack-exchange-podcast-54.mp3
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
Date: Tue, 25 Feb 2014 12:04:14 GMT
$ curl --head http://feeds.soundcloud.com/stream/135361168-stack-exchange-stack-exchange-podcast-54.mp3
HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Tue, 25 Feb 2014 12:10:59 GMT
Content-Length: 0
Connection: keep-alive
Location: http://feeds-tmp.soundcloud.com/stream/135361168-stack-exchange-stack-exchange-podcast-54.mp3
Age: 0
Via: 1.1 varnish
X-Cache: MISS
$ curl --head http://feeds-tmp.soundcloud.com/stream/135361168-stack-exchange-stack-exchange-podcast-54.mp3
HTTP/1.1 302 Moved Temporarily
Server: nginx
Date: Tue, 25 Feb 2014 12:11:07 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 342
Connection: keep-alive
Cache-Control: no-cache
X-SC-Logged: 1
Location: http://ec-media.soundcloud.com/GELZKhKkhf94?ff61182e3c2ecefa438cd0210ad0e38569b9775ddc9e06b3c362aa873b905aebb8e6135d15a49e07f81f199f005d9361d03697feadda4e4517e6d60583&AWSAccessKeyId=AKIAJ4IAZE5EOI7PA7VQ&Expires=1393333978&Signature=22N59KioDGsjDdgi8PMVP%2F1crd8%3D
Age: 0
Via: 1.1 varnish
X-Cache: MISS
$ curl --head 'http://ec-media.soundcloud.com/GELZKhKkhf94?ff61182e3c2ecefa438cd0210ad0e38569b9775ddc9e06b3c362aa873b905aebb8e6135d15a49e07f81f199f005d9361d03697feadda4e4517e6d60583&AWSAccessKeyId=AKIAJ4IAZE5EOI7PA7VQ&Expires=1393333978&Signature=22N59KioDGsjDdgi8PMVP%2F1crd8%3D'
HTTP/1.1 200 OK
Accept-Ranges: bytes
Access-Control-Allow-Headers: Content-Type, Origin
Access-Control-Allow-Methods: GET
Access-Control-Allow-Origin: *
Access-Control-Max-Age: 3000
Cache-Control: max-age=252460800
Content-Disposition: attachment;filename="SE Podcast #55.mp3"
Content-Type: audio/mpeg
Date: Tue, 25 Feb 2014 12:11:16 GMT
Etag: "59320c71cefc32b2ba669294fc974476"
Last-Modified: Mon, 17 Feb 2014 22:04:39 GMT
Server: ECAcc (lhr/4ACD)
X-Cache: HIT
Content-Length: 57454208
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment