Skip to content

Instantly share code, notes, and snippets.

@artemf
Created March 27, 2015 02:41
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 artemf/e5c2025c66098be06c92 to your computer and use it in GitHub Desktop.
Save artemf/e5c2025c66098be06c92 to your computer and use it in GitHub Desktop.
CURL request to Fastly docs without VPN
artemf$ curl -vs --compressed https://docs.fastly.com/guides/caching/ -o /dev/null
* Adding handle: conn: 0x7fe600804400
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fe600804400) send_pipe: 1, recv_pipe: 0
* About to connect() to docs.fastly.com port 443 (#0)
* Trying 103.245.222.249...
* Connected to docs.fastly.com (103.245.222.249) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
* Server certificate: a.ssl.fastly.net
* Server certificate: DigiCert SHA2 High Assurance Server CA
* Server certificate: DigiCert High Assurance EV Root CA
> GET /guides/caching/ HTTP/1.1
> User-Agent: curl/7.30.0
> Host: docs.fastly.com
> Accept: */*
> Accept-Encoding: deflate, gzip
>
< HTTP/1.1 200 OK
< Date: Fri, 27 Mar 2015 02:39:37 GMT
* Server Apache is not blacklisted
< Server: Apache
< Last-Modified: Wed, 25 Mar 2015 19:54:59 GMT
< Content-Encoding: gzip
< X-Clacks-Overhead: GNU Terry Pratchett
< Cache-Control: max-age=0
< Content-Type: text/html; charset=utf-8
< Via: 1.1 varnish
< Content-Length: 3384
< Accept-Ranges: bytes
< Via: 1.1 varnish
< Age: 110015
< X-Served-By: cache-iad2124-IAD, cache-sn89-SIN
< X-Cache: HIT, HIT
< X-Cache-Hits: 1, 1
< Vary: Accept-Encoding
< Strict-Transport-Security: max-age=315360000
<
{ [data not shown]
* Connection #0 to host docs.fastly.com left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment