Skip to content

Commit

Permalink
fix deprecation warning in httpx @ 0.28 (#1431)
Browse files Browse the repository at this point in the history
  • Loading branch information
xavdid-stripe authored Dec 12, 2024
1 parent 82928b0 commit 12637de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion stripe/_http_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,9 @@ def __init__(

kwargs = {}
if self._verify_ssl_certs:
kwargs["verify"] = stripe.ca_bundle_path
kwargs["verify"] = ssl.create_default_context(
capath=stripe.ca_bundle_path
)
else:
kwargs["verify"] = False

Expand Down

0 comments on commit 12637de

Please sign in to comment.