koalalorenzo/python-digitalocean

202 statuscode requests raise JSONReadError

cloudcode-hungary opened this issue · 0 comments

Resize database cluster responds with status code 202 but no response body. This should be handled similarly to 204.

if req.status_code in (202, 204):

https://github.com/koalalorenzo/python-digitalocean/blob/master/digitalocean/baseapi.py#L194
https://developers.digitalocean.com/documentation/v2/#resize-a-database-cluster