From: bpoirriez <34093695+bpoirriez@users.noreply.github.com> Date: Mon, 13 Mar 2023 12:06:21 +0000 (+0100) Subject: Add sslcontext to the asynclient docstring (#2609) X-Git-Tag: 0.24.0~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5e9c82c909d14884e1616a7a25ec44cf0694e98;p=thirdparty%2Fhttpx.git Add sslcontext to the asynclient docstring (#2609) Co-authored-by: Tom Christie --- diff --git a/httpx/_client.py b/httpx/_client.py index 1f9f3beb..9a759dea 100644 --- a/httpx/_client.py +++ b/httpx/_client.py @@ -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