Skip to content

Minor improvements #89

@mobti100

Description

@mobti100

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions