-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
testclientTestClient-relatedTestClient-related
Description
Hi folks,
Currently, the TestClient
is built as a subclass of requests.Session
.
What would be thoughts on migrating to HTTPX?
- Is this a good idea at all?
- Should the
TestClient
be built around HTTPX, or should it eventually be replaced by HTTPX and its ASGI support?
As of today, there are definitely blockers to a full migration. An important one is that HTTPX doesn't support WebSocket yet (see encode/httpx#304), while TestClient
does.
Happy to discuss! cc @tiangolo @gvbgduh @tomchristie
ramnes, headsrooms, linw1995, arugifa, woile and 14 moreMazyod
Metadata
Metadata
Assignees
Labels
testclientTestClient-relatedTestClient-related