Skip to content
Myr

Update docs/user/advanced.rst

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

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 1acef81 · Browse files · 1 file+2 added−2 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+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:docs/user/advanced.rst+2 added-2 removed
51 unmodified lines
5253 >>> requests.get('https://kennethreitz.com', verify=True)54 requests.exceptions.SSLError: hostname 'kennethreitz.com' doesn't match either of '*.herokuapp.com', 'herokuapp.com'5556I don't have SSL setup on this domain, so it fails. Excellent. I do have certs for httpbin.org though::56I don't have SSL setup on this domain, so it fails. Excellent. Github does though::5758 >>> requests.get('https://httpbin.org', verify=True)58 >>> requests.get('https://github.com', verify=True)59 <Response [200]>6061You can also pass ``verify`` the path to a CA_BUNDLE file for private certs. You can also set the ``REQUESTS_CA_BUNDLE`` environment variable.62
231 unmodified lines