Skip to content

Commit

Permalink
Update docstring for Session.verify to include string support (#6859)
Browse files Browse the repository at this point in the history
  • Loading branch information
M0d3v1 committed Jan 1, 2025
1 parent 23540c9 commit 0ad5539
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/requests/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0ad5539

Please sign in to comment.