From c5e9c82c909d14884e1616a7a25ec44cf0694e98 Mon Sep 17 00:00:00 2001 From: bpoirriez <34093695+bpoirriez@users.noreply.github.com> Date: Mon, 13 Mar 2023 13:06:21 +0100 Subject: [PATCH] Add sslcontext to the asynclient docstring (#2609) Co-authored-by: Tom Christie --- httpx/_client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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