Skip to content

Commit

Permalink
Update httpx/_config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchristie authored Nov 28, 2024
1 parent 6a1b24d commit 8a40ebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httpx/_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def create_ssl_context(verify: ssl.SSLContext | bool = True) -> ssl.SSLContext:
ssl_context.check_hostname = False
ssl_context.verify_mode = ssl.CERT_NONE
return ssl_context
elif isinstance(verify, str): # pagma: nocover
elif isinstance(verify, str): # pragma: nocover
# Explicitly handle this deprecated usage pattern.
msg = (
"verify should be a boolean or SSLContext, since version 0.28. "
Expand Down

0 comments on commit 8a40ebc

Please sign in to comment.