The TestClient
does not support all of the constructor args that httpx.(Async)Client
does.
Unless there's technical reason, it should. For example auth
is missing there, yet you can set auth after construction as in client.auth = ...
.
FYI: Starlette has similar limitation, and in their discussion it's been declared as "PR welcome".
No response
No response
No response
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too