Skip to content

Instantly share code, notes, and snippets.

@tongueroo
Created March 25, 2009 18:21
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 tongueroo/0452c374ee21dbba138d to your computer and use it in GitHub Desktop.
Save tongueroo/0452c374ee21dbba138d to your computer and use it in GitHub Desktop.
######################################################################
# curling to test
######################################################################
ey03-s00344 current # curl -I -H "Host:stagingbleacherreport.com" "localhost:6081/articles/feed?tag_id=17"
HTTP/1.1 503 Service Unavailable
Server: Varnish
Retry-After: 0
Content-Type: text/html; charset=utf-8
Content-Length: 466
Date: Wed, 25 Mar 2009 18:06:49 GMT
X-Varnish: 1624562758
Age: 60
Via: 1.1 varnish
Connection: close
X-Cache: MISS
ey03-s00344 current # curl -I -H "Host:stagingbleacherreport.com" "localhost:6081/articles/feed?tag_id=17"
HTTP/1.1 503 Service Unavailable
Server: Varnish
Retry-After: 0
Content-Type: text/html; charset=utf-8
Content-Length: 466
Date: Wed, 25 Mar 2009 18:08:04 GMT
X-Varnish: 1624562759
Age: 60
Via: 1.1 varnish
Connection: close
X-Cache: MISS
ey03-s00344 current # curl -I -H "Host:stagingbleacherreport.com" "localhost:6081/articles/feed?tag_id=17"
HTTP/1.1 200 OK
Server: nginx/0.6.34
Content-Type: application/xml; charset=utf-8
Status: 200 OK
X-Runtime: 0.00800
ETag: "a76e92461afc76b1c9b38b32648286d2"
Cache-Control: private, max-age=0, must-revalidate
Content-Length: 190884
Date: Wed, 25 Mar 2009 18:08:09 GMT
X-Varnish: 1624562760
Age: 0
Via: 1.1 varnish
Connection: keep-alive
X-Cache: MISS
ey03-s00344 current # curl -I -H "Host:stagingbleacherreport.com" "localhost:6081/articles/feed?tag_id=17"
HTTP/1.1 200 OK
Server: nginx/0.6.34
Content-Type: application/xml; charset=utf-8
Status: 200 OK
X-Runtime: 0.00800
ETag: "a76e92461afc76b1c9b38b32648286d2"
Cache-Control: private, max-age=0, must-revalidate
Content-Length: 190884
Date: Wed, 25 Mar 2009 18:08:13 GMT
X-Varnish: 1624562761 1624562760
Age: 3
Via: 1.1 varnish
Connection: keep-alive
X-Cache: HIT
ey03-s00344 current #
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment