Skip to content
Myr

Mention SNI being backported to Python2.7.9 in FAQ

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

That happened as part of PEP 466 - "Network Security Enhancements for Python 2.7"

authored by Matej Stuchlik · committed by Matej Stuchlik · parent 9648301 · Browse files · 1 file+3 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

1 file+3 added−3 removed

  • other:+3 added−3 removed

1 file+3 added−3 removed

modified:docs/community/faq.rst+3 added-3 removed
77 unmodified lines
78when servers are using `Virtual Hosting`_. When such servers are hosting79more than one SSL site they need to be able to return the appropriate80certificate based on the hostname the client is connecting to.8182Python3's SSL module includes native support for SNI. This support has not been83back ported to Python2. For information on using SNI with Requests on Python284refer to this `Stack Overflow answer`_.82Python3 and Python 2.7.9+ include native support for SNI in their SSL modules.83For information on using SNI with Requests on Python < 2.7.9 refer to this84`Stack Overflow answer`_.8586.. _`Server-Name-Indication`: https://en.wikipedia.org/wiki/Server_Name_Indication87.. _`virtual hosting`: https://en.wikipedia.org/wiki/Virtual_hosting88.. _`Stack Overflow answer`: https://stackoverflow.com/questions/18578439/using-requests-with-tls-doesnt-give-sni-support/18579484#18579484