Skip to content

Commit 5f33844

Browse files
M0d3v1nateprewitt
andauthored
Update docstring for Session.verify to include string support (#6859) (#6865)
--------- Co-authored-by: Nate Prewitt <nate.prewitt@gmail.com>
1 parent 4791422 commit 5f33844

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/requests/sessions.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,8 @@ def __init__(self):
422422
#: expired certificates, which will make your application vulnerable to
423423
#: man-in-the-middle (MitM) attacks.
424424
#: Only set this to `False` for testing.
425+
#: If verify is set to a string, it must be the path to a CA bundle file
426+
#: that will be used to verify the TLS certificate.
425427
self.verify = True
426428

427429
#: SSL client certificate default, if String, path to ssl client

0 commit comments

Comments
 (0)