Skip to content

Commit bd4caa8

Browse files
Tweak create_ssl_context defaults. (#1447)
* Version 0.17.0 * create_ssl_config uses trust_env=True default * Drop CHANGELOG notes, to be included in a version PR instead
1 parent 084f356 commit bd4caa8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

httpx/_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class UnsetType:
4343
def create_ssl_context(
4444
cert: CertTypes = None,
4545
verify: VerifyTypes = True,
46-
trust_env: bool = None,
46+
trust_env: bool = True,
4747
http2: bool = False,
4848
) -> ssl.SSLContext:
4949
return SSLConfig(
@@ -63,7 +63,7 @@ def __init__(
6363
*,
6464
cert: CertTypes = None,
6565
verify: VerifyTypes = True,
66-
trust_env: bool = None,
66+
trust_env: bool = True,
6767
http2: bool = False,
6868
):
6969
self.cert = cert

0 commit comments

Comments
 (0)