Skip to content
Myr

Forward `cert` param to SSLConf if `verify=False` (#796)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by zueve · committed by GitHub · parent 50d337e · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:httpx/_config.py+1 added
99 unmodified lines
100 """101 context = self._create_default_ssl_context()102 context.verify_mode = ssl.CERT_NONE103 context.check_hostname = False104 self._load_client_certs(context)105 return context106107 def load_ssl_context_verify(self) -> ssl.SSLContext:108 """
250 unmodified lines