Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@susodapop
Copy link
Contributor

@susodapop susodapop commented Oct 25, 2023

Description

On the road to implementing async, I've added async_thrift_http_client.py which began as an exact duplicate of thrift_http_client.py. Then I replaced all calls to urllib3 with calls to httpx, but using the synchronous API. This way I can verify that our handler "speaks" the language of httpx. I then ran our e2e test suite to ensure that it works.

The only failures in the e2e test were those around our custom retry policy, which I have not implemented yet.

I'll also note that proxy handling is not implemented here. And there's currently no mapping between certificates provided by users in their call to .connect() and what is actually provided to httpx. Those will come in follow-ups.

Related tickets and documents

#176

Jesse Whitehouse added 3 commits October 25, 2023 16:24
@susodapop susodapop merged commit 170daf8 into async Oct 25, 2023
@susodapop susodapop deleted the async-two branch October 25, 2023 20:34
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.

3 participants