Message226912
Attached minimal patch updates http.client.HTTPSConnection to validate certs by default and adjusts test.test_httplib accordingly.
It doesn't currently include any docs changes, or changes to urllib.
The process wide "revert to the old behaviour" hook is to monkeypatch the ssl module:
ssl._create_default_https_context = ssl._create_unverified_context
To monkeypatch the stdlib to validate *everything* (this one isn't new, just noting it for the record):
ssl._create_stdlib_context = ssl.create_default_context |
|
Date |
User |
Action |
Args |
2014-09-15 12:34:30 | ncoghlan | set | recipients:
+ ncoghlan, larry, alex |
2014-09-15 12:34:29 | ncoghlan | set | messageid: <1410784469.95.0.475937020841.issue22417@psf.upfronthosting.co.za> |
2014-09-15 12:34:29 | ncoghlan | link | issue22417 messages |
2014-09-15 12:34:29 | ncoghlan | create | |
|