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

Minor improvements #89

Open
mobti100 opened this issue Feb 6, 2025 · 0 comments
Open

Minor improvements #89

mobti100 opened this issue Feb 6, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@mobti100
Copy link

mobti100 commented Feb 6, 2025

add support for:
response.raise_for_status(): to catch HTTP errors.
base_url: don't have to repeat base part of the URL every time
session.close(): proper cleanup
timeout=(connect_timeout, read_timeout): timeout right now only accepts a single value

also expose follow_redirects to def post(): RClient.request() got an unexpected keyword argument 'follow_redirects'

@deedy5 deedy5 added the enhancement New feature or request label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants