homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lemburg
Recipients alex, benjamin.peterson, lemburg, r.david.murray
Date 2014年12月11日.19:03:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1418324585.43.0.495161379439.issue22866@psf.upfronthosting.co.za>
In-reply-to
Content
Reopening the ticket, since I apparently missed the two important uses in the Python 2.7.9 stdlib:
urllib2.py:
-- context = ssl._create_stdlib_context(cert_reqs=ssl.CERT_REQUIRED,
httplib.py:
-- context = ssl._create_default_https_context()
So it turns out that the context functions are indeed used for all stdlib HTTP interfacing.
The ssl module itself doesn't use the hardcoded defaults (which is good), but having to write your own context function and then monkey patching this into the stdlib doesn't sound like a good solution to changing the default SSL context options, should this be needed.
History
Date User Action Args
2014年12月11日 19:03:05lemburgsetrecipients: + lemburg, benjamin.peterson, alex, r.david.murray
2014年12月11日 19:03:05lemburgsetmessageid: <1418324585.43.0.495161379439.issue22866@psf.upfronthosting.co.za>
2014年12月11日 19:03:05lemburglinkissue22866 messages
2014年12月11日 19:03:05lemburgcreate

AltStyle によって変換されたページ (->オリジナル) /