Skip to content
Myr

Merge remote-tracking branch 'origin/develop' into develop

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 · parents 2b84954, 15396fb · Browse files · 3 files+5 added−3 removed
This commit

State

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

Diff stats

3 files+5 added−3 removed

  • other:+5 added−3 removed

3 files+5 added−3 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
modified:requests/models.py+1 added-1 removed
296 unmodified lines
297 # Support for unicode domain names and paths.298 scheme, netloc, path, params, query, fragment = urlparse(self.url)299300 if not scheme:301 raise ValueError()301 raise ValueError("Invalid URL %r: No schema supplied" %self.url)302303 netloc = netloc.encode('idna')304305 if isinstance(path, unicode):
403 unmodified lines
modified:AUTHORS.rst+2 added
67 unmodified lines
68- Christopher Davis69- Ori Livneh70- Jason Emerick71- Bryan Helmig72- Jonas Obrist73