koalalorenzo/python-digitalocean — pull request #50 by randomir (2014-09-19 15:28:55+00:00)
Title: Handle responses with no content properly.

In new DigitalOcean API, 204 code is returned on successful DELETE
requests (when destroying droplets, images, keys, etc.), i.e. response
body is empty (and parsing it as JSON fails).