Skip to content

Commit 0ad5539

Browse files
committed
Update docstring for Session.verify to include string support (psf#6859)
1 parent 23540c9 commit 0ad5539

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/requests/sessions.py

+2
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,8 @@ def __init__(self):
420420
#: presented by the server, and will ignore hostname mismatches and/or
421421
#: expired certificates, which will make your application vulnerable to
422422
#: man-in-the-middle (MitM) attacks.
423+
#: If verify is set to a string, it must be the path to a CA bundle file
424+
#: that will be used to verify the TLS certificate.
423425
#: Only set this to `False` for testing.
424426
self.verify = True
425427

0 commit comments

Comments
 (0)