Skip to content
Myr

Update docstring for Session.verify to include string support (#6859) (#6865)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

---------

authored by m0d3v · committed by GitHub · parent 4791422 · Browse files · 1 file+2 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Co-authored-by: Nate Prewitt <nate.prewitt@gmail.com>

Diff stats

1 file+2 added−0 removed

  • other:+2 added−0 removed

1 file+2 added−0 removed

modified:src/requests/sessions.py+2 added
420 unmodified lines
421 #: presented by the server, and will ignore hostname mismatches and/or422 #: expired certificates, which will make your application vulnerable to423 #: man-in-the-middle (MitM) attacks.424 #: Only set this to `False` for testing.425 #: If verify is set to a string, it must be the path to a CA bundle file426 #: that will be used to verify the TLS certificate.427 self.verify = True428429 #: SSL client certificate default, if String, path to ssl client430 #: cert file (.pem). If Tuple, ('cert', 'key') pair.
404 unmodified lines