Skip to content
Myr

Merge pull request #2753 from Lukasa/ssldocs

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

Document the string form of the verify parameter.

authored by Ian Cordasco · committed by Ian Cordasco · parents bf9e663, 7c958ee · Browse files · 1 file+5 added−1 removed
This commit

State

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

Diff stats

1 file+5 added−1 removed

  • other:+5 added−1 removed

1 file+5 added−1 removed

modified:docs/user/advanced.rst+5 added-1 removed
199 unmodified lines
200201 >>> requests.get('https://github.com', verify=True)202 <Response [200]>203204You can pass ``verify`` the path to a CA_BUNDLE file with certificates of trusted CAs. This list of trusted CAs can also be specified through the ``REQUESTS_CA_BUNDLE`` environment variable.204You can pass ``verify`` the path to a CA_BUNDLE file with certificates of trusted CAs::205206 >>> requests.get('https://github.com', verify='/path/to/certfile')207208This list of trusted CAs can also be specified through the ``REQUESTS_CA_BUNDLE`` environment variable.209210Requests can also ignore verifying the SSL certificate if you set ``verify`` to False.211212::213
654 unmodified lines