Skip to content

Instantly share code, notes, and snippets.

@mpilar
Last active August 29, 2015 14:10
Show Gist options
  • Save mpilar/dbaa1de1f1b5b7c542e1 to your computer and use it in GitHub Desktop.
Save mpilar/dbaa1de1f1b5b7c542e1 to your computer and use it in GitHub Desktop.
curl output
[ec2-user@ip-10-0-255-91 ~]$ curl http://debug.netdna-cdn.com
You are hitting the MaxCDN New York Datacenter<br>
<img src=netdna.gif?city=3 >
[ec2-user@ip-10-0-255-91 ~]$ curl -v http://recend.apextech.netdna-cdn.com/beta/images/2014/12/01/20141126_end_dulcedelcampo_met_1.jpg > /dev/null
* Hostname was NOT found in DNS cache
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 94.31.29.192...
* Connected to recend.apextech.netdna-cdn.com (94.31.29.192) port 80 (#0)
> GET /beta/images/2014/12/01/20141126_end_dulcedelcampo_met_1.jpg HTTP/1.1
> User-Agent: curl/7.38.0
> Host: recend.apextech.netdna-cdn.com
> Accept: */*
>
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0< HTTP/1.1 200 OK
< Date: Tue, 02 Dec 2014 17:43:00 GMT
< Content-Type: image/jpeg
< Content-Length: 436125
< Connection: keep-alive
< ETag: "a73edd8c1dd01:0"
< Cache-Control: max-age=1296000, s-maxage=1296000, must-revalidate, proxy-revalidate
< X-Varnish-Served-By: odin
< X-Varnish-Cache: HIT
< X-Varnish-Cache-Hits: 5
< X-Age: 8091
< Age: 0
* Server NetDNA-cache/2.2 is not blacklisted
< Server: NetDNA-cache/2.2
< X-Cache: MISS
<
{ [data not shown]
2 425k 2 11726 0 0 100 0 1:12:41 0:01:56 1:10:45 0* transfer closed with 424399 bytes remaining to read
* Closing connection 0
curl: (18) transfer closed with 424399 bytes remaining to read
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment