]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Forward `cert` param to SSLConf if `verify=False` (#796)
authorzueve <zueves@gmail.com>
Thu, 27 Feb 2020 11:32:10 +0000 (13:32 +0200)
committerGitHub <noreply@github.com>
Thu, 27 Feb 2020 11:32:10 +0000 (11:32 +0000)
httpx/_config.py

index 1531e2e804381a3309598fa377777e89e8e3c4f6..ccf09070c3196131dfb63bec6a03e6945721423e 100644 (file)
@@ -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: