Fixes for Android GN build input/outputs
[chromium-blink-merge.git] / third_party / tlslite / tests / httpsclient.py
blob1a764d70bb26396c0e5fcf5985439a5e30ffb309
1 #!/usr/bin/env python
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")
10 r = h.getresponse()
11 print(r.read())