Skip to content

Commit 63455e7

Browse files
M0d3v1nateprewitt
authored andcommitted
Update docstring for Session.verify to include string support (#6859)
1 parent 4791422 commit 63455e7

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
@@ -421,6 +421,8 @@ def __init__(self):
421421
#: presented by the server, and will ignore hostname mismatches and/or
422422
#: expired certificates, which will make your application vulnerable to
423423
#: man-in-the-middle (MitM) attacks.
424+
#: If verify is set to a string, it must be the path to a CA bundle file
425+
#: that will be used to verify the TLS certificate.
424426
#: Only set this to `False` for testing.
425427
self.verify = True
426428

0 commit comments

Comments
 (0)