Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(208)

Unified Diff: third_party/tlslite/tests/httpsclient.py

Issue 210323002: Update tlslite to 0.4.6. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Executable bit and --similarity=80 Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/tlslite/tests/clientX509Key.pem ('k') | third_party/tlslite/tests/httpsserver.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/tlslite/tests/httpsclient.py
diff --git a/third_party/tlslite/tests/httpsclient.py b/third_party/tlslite/tests/httpsclient.py
new file mode 100755
index 0000000000000000000000000000000000000000..1a764d70bb26396c0e5fcf5985439a5e30ffb309
--- /dev/null
+++ b/third_party/tlslite/tests/httpsclient.py
@@ -0,0 +1,11 @@
+#!/usr/bin/env python
+from __future__ import print_function
+from tlslite import HTTPTLSConnection, HandshakeSettings
+
+settings = HandshakeSettings()
+settings.useExperimentalTackExtension = True
+
+h = HTTPTLSConnection("localhost", 4443, settings=settings)
+h.request("GET", "/index.html")
+r = h.getresponse()
+print(r.read())
« no previous file with comments | « third_party/tlslite/tests/clientX509Key.pem ('k') | third_party/tlslite/tests/httpsserver.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698