summaryrefslogtreecommitdiff
path: root/http
diff options
context:
space:
mode:
authorTim Redfern <tim@herge.(none)>2013-06-21 16:33:01 +0100
committerTim Redfern <tim@herge.(none)>2013-06-21 16:33:01 +0100
commitba8a37228891c868030464b91ebb2ffe306219a7 (patch)
tree20096effa50f93b2364d9edfc8e9ad397792e989 /http
parentb438fa8772d071663692c6c936881e1f44590523 (diff)
adding hash function
Diffstat (limited to 'http')
-rwxr-xr-xhttp2
1 files changed, 1 insertions, 1 deletions
diff --git a/http b/http
index 15b3782..0c0314f 100755
--- a/http
+++ b/http
@@ -6,7 +6,7 @@ parser.add_argument("method",default="GET",nargs='?')
parser.add_argument("path",default="/",nargs='?')
parser.add_argument("body",default="body",nargs='?')
args=parser.parse_args()
-connection = httplib.HTTPConnection('127.0.0.1:9010')
+connection = httplib.HTTPConnection('127.0.0.1:9000')
connection.request(args.method, args.path, args.body)
print connection.getresponse().read()