Skip to content

Commit

Permalink
Tweak create_ssl_context defaults. (#1447)
Browse files Browse the repository at this point in the history
* Version 0.17.0

* create_ssl_config uses trust_env=True default

* Drop CHANGELOG notes, to be included in a version PR instead
  • Loading branch information
tomchristie authored Feb 17, 2021
1 parent 084f356 commit bd4caa8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions httpx/_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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
Expand Down

0 comments on commit bd4caa8

Please sign in to comment.