2 from __future__
import print_function
3 from tlslite
import HTTPTLSConnection
, HandshakeSettings
5 settings
= HandshakeSettings()
6 settings
.useExperimentalTackExtension
= True
8 h
= HTTPTLSConnection("localhost", 4443, settings
=settings
)
9 h
.request("GET", "/index.html")