-
Notifications
You must be signed in to change notification settings - Fork 761
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe your environment
OS: (e.g, Ubuntu)
Python version: (e.g., Python 3.8.10)
SDK version: (e.g., 1.25.0)
API version: (e.g., 1.25.0)
What happened?
There are some places, where success status of the request validated based on only 200 and 202 status code:
Line 94 in 6812da2
| REQUESTS_SUCCESS_STATUS_CODES = (200, 202) |
Line 91 in 6812da2
| REQUESTS_SUCCESS_STATUS_CODES = (200, 202) |
Steps to Reproduce
Receive the HTTP 204 succes status code
Expected Result
204 status to be treated as a success status
Actual Result
204 status code treated as an error
Additional context
Relevant issue (fixed) about the same behavior in another module: #3621
Would you like to implement a fix?
None
wey-gu
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working