python-digitalocean icon indicating copy to clipboard operation
python-digitalocean copied to clipboard

202 statuscode requests raise JSONReadError

Open cloudcode-hungary opened this issue 6 years ago • 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

cloudcode-hungary avatar Jan 29 '20 09:01 cloudcode-hungary