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 benjamin.peterson
Recipients alex, benjamin.peterson, christian.heimes, desbma
Date 2014-11-30.16:15:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1417364140.61.0.525469434695.issue22959@psf.upfronthosting.co.za>
In-reply-to
Content
As the documentation says "If context is specified and has a verify_mode of either CERT_OPTIONAL or CERT_REQUIRED, then by default host is matched against the host name(s) allowed by the server’s certificate. If you want to change that behaviour, you can explicitly set check_hostname to False."

It is rather weird that HTTPSConnection has its own "check_hostname" parameter independent of the one on the SSL context.

Alex, what do you think of this patch?
History
Date User Action Args
2014-11-30 16:15:40benjamin.petersonsetrecipients: + benjamin.peterson, christian.heimes, alex, desbma
2014-11-30 16:15:40benjamin.petersonsetmessageid: <1417364140.61.0.525469434695.issue22959@psf.upfronthosting.co.za>
2014-11-30 16:15:40benjamin.petersonlinkissue22959 messages
2014-11-30 16:15:40benjamin.petersoncreate