Skip to content

Differences between starlette.testclient.TestClient and httpx.AsyncClient #1877

Discussion options

You must be logged in to vote

I think your analysis is correct, unless there's something I didn;t see in the switch.
I'm too using vanilla httpx for a long time now and to me the only difference with the new TestClient is the websocket part.
I dont intend on switching btw

If so, maybe it would be a good idea to write it in the documentation?

yup good call

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by antoni-szych-rtbhouse
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants