diff --git a/httpcore/_async/http_proxy.py b/httpcore/_async/http_proxy.py index d24e88c2a..35b5d504c 100644 --- a/httpcore/_async/http_proxy.py +++ b/httpcore/_async/http_proxy.py @@ -186,6 +186,7 @@ def __init__( origin=proxy_origin, keepalive_expiry=keepalive_expiry, network_backend=network_backend, + ssl_context=ssl_context, ) self._proxy_origin = proxy_origin self._remote_origin = remote_origin diff --git a/httpcore/_sync/http_proxy.py b/httpcore/_sync/http_proxy.py index ac07273a4..f49e80aab 100644 --- a/httpcore/_sync/http_proxy.py +++ b/httpcore/_sync/http_proxy.py @@ -186,6 +186,7 @@ def __init__( origin=proxy_origin, keepalive_expiry=keepalive_expiry, network_backend=network_backend, + ssl_context=ssl_context, ) self._proxy_origin = proxy_origin self._remote_origin = remote_origin