Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

202 statuscode requests raise JSONReadError #305

Open
cloudcode-hungary opened this issue Jan 29, 2020 · 0 comments
Open

202 statuscode requests raise JSONReadError #305

cloudcode-hungary opened this issue Jan 29, 2020 · 0 comments

Comments

@cloudcode-hungary
Copy link

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 added a commit to cloudcode-hungary/python-digitalocean that referenced this issue Jan 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant