aboutsummaryrefslogtreecommitdiff
path: root/scripts/http-client.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/http-client.py')
-rw-r--r--scripts/http-client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/http-client.py b/scripts/http-client.py
index 4e1505f3..35091f26 100644
--- a/scripts/http-client.py
+++ b/scripts/http-client.py
@@ -29,7 +29,7 @@ f.close()
# For the moment, just punt on the issue, as this is test code. In
# production this would be a problem.
-http = tlslite.api.HTTPTLSConnection(host="localhost", port=8080, certChain=certChain, privateKey=privateKey)
+https = tlslite.api.HTTPTLSConnection(host="localhost", port=8080, certChain=certChain, privateKey=privateKey)
https.connect()
https.request("POST", "/", "This is a test. This is only a test. Had this been real you would now be really confused.\n", {"Content-Type":"application/wombat"})