From 83fbd7106346010e043345bc3ded5f35dde4172d Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 21 Nov 2024 11:31:57 +0000 Subject: [PATCH] Update _config.py --- httpx/_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpx/_config.py b/httpx/_config.py index f28fbee4..590a27a2 100644 --- a/httpx/_config.py +++ b/httpx/_config.py @@ -25,7 +25,7 @@ def create_ssl_context(verify: ssl.SSLContext | bool = True) -> ssl.SSLContext: import truststore if verify is True: - return truststore.SSLContext(ssl.PROTOCOL_TLS_CLIENT) + return truststore.SSLContext(ssl.PROTOCOL_TLS_CLIENT) elif verify is False: ssl_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT) ssl_context.check_hostname = False -- 2.47.3