summaryrefslogtreecommitdiff
path: root/http
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2013-05-27 12:40:16 +0100
committerTim Redfern <tim@eclectronics.org>2013-05-27 12:40:16 +0100
commit12c7449bd73a49ede4dacb90a9b0b7f73eb2e287 (patch)
tree442afc39917e523c723aa65124c59d6777033176 /http
parent493b87d7c8f8872a19bbb0347daf61cc5b24f578 (diff)
quick fix
Diffstat (limited to 'http')
-rwxr-xr-xhttp2
1 files changed, 1 insertions, 1 deletions
diff --git a/http b/http
index 0c0314f..15b3782 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:9000')
+connection = httplib.HTTPConnection('127.0.0.1:9010')
connection.request(args.method, args.path, args.body)
print connection.getresponse().read()