aboutsummaryrefslogtreecommitdiff
path: root/scripts/http-client.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2007-08-08 04:48:18 +0000
committerRob Austein <sra@hactrn.net>2007-08-08 04:48:18 +0000
commita5ce725bb046b36a271a612f43a6ee4dd784a6a0 (patch)
tree6db36c6356ba953d36f533c852ef5c7e9eff1a8d /scripts/http-client.py
parentf258e3a9e6db9ae18813fdfba115ae8a4382a0bc (diff)
Nit**2
svn path=/scripts/http-client.py; revision=838
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"})