From 0ad55393da4a0a2774108be290fe95dbba432432 Mon Sep 17 00:00:00 2001 From: M0d3v1 Date: Wed, 1 Jan 2025 19:34:27 +0330 Subject: [PATCH] Update docstring for Session.verify to include string support (#6859) --- src/requests/sessions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/requests/sessions.py b/src/requests/sessions.py index b387bc36df..ceaeebe320 100644 --- a/src/requests/sessions.py +++ b/src/requests/sessions.py @@ -420,6 +420,8 @@ def __init__(self): #: presented by the server, and will ignore hostname mismatches and/or #: expired certificates, which will make your application vulnerable to #: man-in-the-middle (MitM) attacks. + #: If verify is set to a string, it must be the path to a CA bundle file + #: that will be used to verify the TLS certificate. #: Only set this to `False` for testing. self.verify = True