Problem with proxies parameter in AsyncClient after update to 0.28.0 #3490
Unanswered
diazdiego1
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After updating to version 0.28.1, the
proxies
parameter is no longer accepted inhttpx.AsyncClient
, resulting in the following error:TypeError("AsyncClient.init() got an unexpected keyword argument 'proxies'")
Before this update, the
proxies
parameter was correctly used to configure proxies directly in theAsyncClient
instance. However, with the current version, attempting to pass theproxies
parameter to configure proxies results in the error mentioned above.Steps to Reproduce:
httpx
in your virtual environment.AsyncClient
with theproxies
parameter configured:How can I configure multiple proxies (both HTTP and HTTPS) in version 0.28.1 of httpx, considering that the proxies parameter is no longer accepted?
Beta Was this translation helpful? Give feedback.
All reactions