encode / httpx

A next generation HTTP client for Python. 🦋

Home Page:https://www.python-httpx.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AsyncClient does not recognize a `cert` has been passed.

achillesrasquinha opened this issue · comments

I'm capable of doing the following

$ curl https://foobar.com --cert /path/to/cert

However, when using a Session instance of httpx.AsyncClient, passing the cert gives me error from the server that no certs have been passed.

Closing this. Turns out, if you're using a mix of the transport param with AsyncClient, it prioritizes on the first.