Skip to content
Myr

Merge branch 'develop' of github.com:kennethreitz/requests 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 49d7954, 17f2002 · Browse files · 3 files+6 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

3 files+6 added−2 removed

  • other:+6 added−2 removed

3 files+6 added−2 removed

modified:requests/models.py+3 added
451 unmodified lines
452 cert_loc = __import__('certifi').where()453454 conn.cert_reqs = 'CERT_REQUIRED'455 conn.ca_certs = cert_loc456 else:457 conn.cert_reqs = 'CERT_NONE'458 conn.ca_certs = None459460 if not self.sent or anyway:461462 if self.cookies:
284 unmodified lines
modified:AUTHORS.rst+1 added
71 unmodified lines
72- Jonas Obrist73- Lucian Ursu74- Tom Moertel75- Frank Kumro Jr76- Chase Sterling
modified:test_requests_ext.py+2 added-2 removed
32 unmodified lines
33 def test_ssl_hostname_session_not_ok(self):3435 s = requests.session()3637 s.get('https://kennethreitz.com', verify=False)3837 self.assertRaises(requests.exceptions.SSLError, s.get, 'https://kennethreitz.com')3839 s.get('https://kennethreitz.com', verify=False)40414243if __name__ == '__main__':44 unittest.main()45