State early in SNI discussion Python2 limitation

Reference at the earliest opportunity that Server-Name-Indication is a
limitation of Python 2.6 and 2.7. Avoid describing it as a Requests
issue.
This commit is contained in:
Aaron Iles
2014-02-04 21:08:11 +11:00
parent 8a0bae45c2
commit 98b76f4b98
+3 -2
View File
@@ -67,8 +67,9 @@ What are "hostname doesn't match" errors?
These errors occur when :ref:`SSL certificate verification <verification>`
fails to match the certificate the server responds with to the hostname
Requests thinks it's contacting. If you're certain the server's SSL setup is
correct (for example, because you can visit the site with your browser) a
possible explanation is Request's is lacking Server-Name-Indication.
correct (for example, because you can visit the site with your browser) and
you're using Python 2.6 or 2.7, a possible explanation is that you need
Server-Name-Indication.
`Server-Name-Indication`_, or SNI, is an official extension to SSL where the
client tells the server what hostname it is contacting. This enables `virtual