Skip to content

Instantly share code, notes, and snippets.

@michaelfairley
Created November 14, 2013 21:11
Show Gist options
  • Save michaelfairley/7474394 to your computer and use it in GitHub Desktop.
Save michaelfairley/7474394 to your computer and use it in GitHub Desktop.
$ curl -v https://rubygems.global.ssl.fastly.net/
* About to connect() to rubygems.global.ssl.fastly.net port 443 (#0)
* Trying 199.27.73.185...
* Connection refused
* couldn't connect to host
* Closing connection #0
curl: (7) couldn't connect to host
$ curl -v http://rubygems.global.ssl.fastly.net/
* About to connect() to rubygems.global.ssl.fastly.net port 80 (#0)
* Trying 199.27.73.185...
* connected
* Connected to rubygems.global.ssl.fastly.net (199.27.73.185) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8y zlib/1.2.5
> Host: rubygems.global.ssl.fastly.net
> Accept: */*
>
< HTTP/1.1 302 Found
< Cache-Control: public, max-age=31536000
< Content-Type: text/html;charset=utf-8
< Location: https://www.rubygems.org
< X-Content-Type-Options: nosniff
< X-Frame-Options: SAMEORIGIN
< X-Xss-Protection: 1; mode=block
< Via: 1.1 varnish
< Content-Length: 0
< Accept-Ranges: bytes
< Date: Thu, 14 Nov 2013 21:10:58 GMT
< Via: 1.1 varnish
< Age: 270878
< Connection: keep-alive
< X-Served-By: cache-v37-ASH, cache-c31-CHI
< X-Cache: HIT, HIT
< X-Cache-Hits: 1, 2
< X-Timer: S1384462468.573120117,VS0,VS15,VE16,VE989768
< X-Log-Message: for=request method=GET path=/ fwd="65.114.95.226" status=302 bytes=0 cache=HIT, HIT cache_hits=1, 2 timing="S1384462468.573120117,VS0,VS15,VE16,VE989768"
<
* Connection #0 to host rubygems.global.ssl.fastly.net left intact
* Closing connection #0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment