]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Add sslcontext to the asynclient docstring (#2609)
authorbpoirriez <34093695+bpoirriez@users.noreply.github.com>
Mon, 13 Mar 2023 12:06:21 +0000 (13:06 +0100)
committerGitHub <noreply@github.com>
Mon, 13 Mar 2023 12:06:21 +0000 (12:06 +0000)
Co-authored-by: Tom Christie <tom@tomchristie.com>
httpx/_client.py

index 1f9f3beb56aae687a9c2fd6d70f450fc6483bb99..9a759deaee566499a3ed2aaf06b78b99cf3f3e8b 100644 (file)
@@ -1311,7 +1311,8 @@ class AsyncClient(BaseClient):
     sending requests.
     * **verify** - *(optional)* SSL certificates (a.k.a CA bundle) used to
     verify the identity of requested hosts. Either `True` (default CA bundle),
-    a path to an SSL certificate file, or `False` (disable verification).
+    a path to an SSL certificate file, an `ssl.SSLContext`, or `False`
+    (which will disable verification).
     * **cert** - *(optional)* An SSL certificate used by the requested host
     to authenticate the client. Either a path to an SSL certificate file, or
     two-tuple of (certificate file, key file), or a three-tuple of (certificate