Home | History | Annotate | Download | only in tests
      1 #!/usr/bin/env python
      2 from __future__ import print_function
      3 from tlslite import HTTPTLSConnection, HandshakeSettings
      4 
      5 settings = HandshakeSettings()
      6 settings.useExperimentalTackExtension = True
      7 
      8 h = HTTPTLSConnection("localhost", 4443, settings=settings)    
      9 h.request("GET", "/index.html")
     10 r = h.getresponse()
     11 print(r.read())
     12