Skip to content

Conversation

salty-horse
Copy link

@salty-horse salty-horse commented Oct 29, 2022

Hyper is unmaintained and no longer compatible with recent Python releases. This PR switches to the httpx library.

It's based on the work done in this PR, which only added support for certificate-based authentication, and adds support for credentials-based authentication.

I've only tested the credentials-based authentication, with Python 3.10 (not 3.11). I assume the certificate authentication is used by the original author. As mentioned in the other PR, request multiplexing isn't supported by httpx, so it was removed.

The tests has not been updated with the library switch, so they fail.
If this is merged, I suggest squashing the commits.

smorgan-brainomix and others added 2 commits August 4, 2022 12:32
* ES-7755 Simple HTTPX implementation

* ES-7755 Add http2 extras to httpx
@CNKCQ
Copy link

CNKCQ commented Nov 20, 2022

error msg -- KeyError: '{"reason":"MissingProviderToken"}'

@salty-horse
Copy link
Author

@CNKCQ Can you provide some more context? Can you share a code sample of how you're using the library? Does it work with the published version of the package?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants