]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Update docs/advanced/ssl.md tomchristie-patch-1 3409/head
authorTom Christie <tom@tomchristie.com>
Thu, 28 Nov 2024 11:40:58 +0000 (11:40 +0000)
committerGitHub <noreply@github.com>
Thu, 28 Nov 2024 11:40:58 +0000 (11:40 +0000)
docs/advanced/ssl.md

index fc4665717521257e639607b5973f4d2aa29de64a..3acddc7b4039df4c889164edb8398f079b91c7c1 100644 (file)
@@ -30,6 +30,7 @@ For more complex configurations you can pass an [SSL Context](https://docs.pytho
 import certifi
 import httpx
 import ssl
+import certifi
 
 # Use certifi for certificate validation, rather than the system truststore.
 ctx = ssl.create_default_context(cafile=certifi.where())