mvantellingen/python-zeep

Consider passing in an SSLContext when creating the httpx client if you need ssl

bdraco opened this issue · 0 comments

proxies=proxy,

We recently discovered httpx does not perform well without passing in an ssl context (home-assistant/core#89932)

see encode/httpx#2609 encode/httpx#838 (comment)

The shared helper will be updated for this issue as well so it can be used and passed the library if you are using this Home Assistant

from homeassistant.helpers.httpx_client import get_async_client to get the shared client

from homeassistant.helpers.httpx_client import create_async_httpx_client to create a new one (if you need to recreate or need you own)