diff --git a/httpx/_config.py b/httpx/_config.py index 45e93a9964..837519afb5 100644 --- a/httpx/_config.py +++ b/httpx/_config.py @@ -43,7 +43,7 @@ class UnsetType: def create_ssl_context( cert: CertTypes = None, verify: VerifyTypes = True, - trust_env: bool = None, + trust_env: bool = True, http2: bool = False, ) -> ssl.SSLContext: return SSLConfig( @@ -63,7 +63,7 @@ def __init__( *, cert: CertTypes = None, verify: VerifyTypes = True, - trust_env: bool = None, + trust_env: bool = True, http2: bool = False, ): self.cert = cert