Skip to content

Remove use of requests, switch to httpx, support Async http requests #235

@ashleysommer

Description

@ashleysommer

HTTPX is a much more modern HTTP library than requests, it is higher performance, supports async/await, supports HTTP/2, and supports steaming large responses (in sync or async mode).

The downside is the httpx library is larger in size and has more dependencies to pull in than requests does.

Related to #157

I think switching from requests to httpx would open the door to a bunch of features in SparqlWrapper, including better Session support, streaming requests and streaming responses, and multiple parallel queries.

Opinions? @edmondchuc @nicholascar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions