Skip to content
Myr

Tweak `create_ssl_context` defaults. (#1447)

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

* Version 0.17.0 * create_ssl_config uses trust_env=True default * Drop CHANGELOG notes, to be included in a version PR instead

authored by Tom Christie · committed by GitHub · parent 084f356 · Browse files · 1 file+2 added−2 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+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:httpx/_config.py+2 added-2 removed
41 unmodified lines
4243def create_ssl_context(44 cert: CertTypes = None,45 verify: VerifyTypes = True,46 trust_env: bool = None,46 trust_env: bool = True,47 http2: bool = False,48) -> ssl.SSLContext:49 return SSLConfig(50 cert=cert, verify=verify, trust_env=trust_env, http2=http2
11 unmodified lines
62 self,63 *,64 cert: CertTypes = None,65 verify: VerifyTypes = True,66 trust_env: bool = None,66 trust_env: bool = True,67 http2: bool = False,68 ):69 self.cert = cert70 self.verify = verify
290 unmodified lines