[Twisted-Python] bug or my code? (getPage + Twisted Webserver = Exception)

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Tue Jul 17 15:50:49 EDT 2012

On 04:25 pm, mobilebackup77 at gmail.com wrote:
>The server I am using uses TLS SNI. Does getPage support this, or has
>any plans in the near future to support this? Do any other python
>packages (request/urllib3/...) support TLS SNI yet?

Sure.  Just pass in an appropriately configured SSL context factory.

See the pyOpenSSL documentation for details on how to configure SNI.
>Also, is there a way to do HTTP CONNECT using twisted before I do the
>SSL handshake. I think that should solve my problem.

Twisted doesn't yet have any support for HTTP CONNECT.


More information about the Twisted-Python mailing list