-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Some option to call raise_for_status() automatically on any request. #1724
Comments
added to master. PS you should re-use session object |
WOW!
|
just use one global |
global session does connection pooling and cookie sharing if you need cookie |
Keep-Alive is more important for me than cookies. So, I already know about such |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a [new issue] for related bugs. |
I have many places where my application issues HTTP-request, for example:
The marked line annoys me, since our programmes forgot to add it too frequently. Unforunatelly, our web services report error with HTTP code 542 and JSON-response of error, so returning from such functions without exception is a bug.
The text was updated successfully, but these errors were encountered: