Skip to content

Commit c5e9c82

Browse files
Add sslcontext to the asynclient docstring (#2609)
Co-authored-by: Tom Christie <[email protected]>
1 parent ead8010 commit c5e9c82

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

httpx/_client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1311,7 +1311,8 @@ class AsyncClient(BaseClient):
13111311
sending requests.
13121312
* **verify** - *(optional)* SSL certificates (a.k.a CA bundle) used to
13131313
verify the identity of requested hosts. Either `True` (default CA bundle),
1314-
a path to an SSL certificate file, or `False` (disable verification).
1314+
a path to an SSL certificate file, an `ssl.SSLContext`, or `False`
1315+
(which will disable verification).
13151316
* **cert** - *(optional)* An SSL certificate used by the requested host
13161317
to authenticate the client. Either a path to an SSL certificate file, or
13171318
two-tuple of (certificate file, key file), or a three-tuple of (certificate

0 commit comments

Comments
 (0)