thisandagain / fastly

Fastly API client for Node.js
MIT License
70 stars 28 forks source link

Make purging by url actually purge by url, and catch failures properly #3

Closed isaacs closed 10 years ago

isaacs commented 10 years ago
  1. The purging by URL should be a POST to an API endpoint, not a PURGE request with a host header.
  2. Correctly detect failed responses by looking at the statusCode field. code isn't a thing.
thisandagain commented 10 years ago

I've obviously been lax in keeping this updated... thank you for the shot in the arm @isaacs