From: zueve Date: Thu, 27 Feb 2020 11:32:10 +0000 (+0200) Subject: Forward `cert` param to SSLConf if `verify=False` (#796) X-Git-Tag: 0.12.0~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19555f6103b17fb7cc33b1c9baaf1602662302cc;p=thirdparty%2Fhttpx.git Forward `cert` param to SSLConf if `verify=False` (#796) --- diff --git a/httpx/_config.py b/httpx/_config.py index 1531e2e8..ccf09070 100644 --- a/httpx/_config.py +++ b/httpx/_config.py @@ -101,6 +101,7 @@ class SSLConfig: context = self._create_default_ssl_context() context.verify_mode = ssl.CERT_NONE context.check_hostname = False + self._load_client_certs(context) return context def load_ssl_context_verify(self) -> ssl.SSLContext: