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

Add raise_for_status parameter to the HTTP wrapper methods in BaseAPI object #499

Open
shivahari opened this issue Dec 23, 2024 · 0 comments

Comments

@shivahari
Copy link
Collaborator

A raise_for_status parameter to the HTTP wrapper methods can help run the response.raise_for_status() step based on a flag. This will help in validating status code - 40x

Currently the response.raise_for_status() step will raise an exception when the status code is not 200, this prevents us from validating failure scenarios.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant