Skip to content

switch HttpHook from using requests library to httpx? #40580

@kiaradlf

Description

@kiaradlf

Description

the HttpHook currently uses the requests library for HTTP calls.
httpx appears a more modern alternative, boasting support for e.g. http2, async support, and type annotations.
it would be nice if the http hook could perhaps take advantage of these as well.

Use case/motivation

my own immediate use-case was password-protected client certificates, which seem not supported in requests.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:featureFeature Requestsneeds-triagelabel for new issues that we didn't triage yetpending-responseprovider:httpstaleStale PRs per the .github/workflows/stale.yml policy file

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions