summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Redfern <tim@herge.(none)>2013-03-07 17:50:09 +0000
committerTim Redfern <tim@herge.(none)>2013-03-07 17:50:09 +0000
commit4c2f390a7a47d396e9581e122633313f6a4295a9 (patch)
tree6fcd8b4b9570373ea1e9127f01a6c7b6bc2a8bf6
parent0cd0501e479166998655194db6a7be60323d53b0 (diff)
wresting with templated factory
-rwxr-xr-xhttp2
1 files changed, 1 insertions, 1 deletions
diff --git a/http b/http
index cbf89b2..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('54.228.219.55:9000')
+connection = httplib.HTTPConnection('127.0.0.1:9000')
connection.request(args.method, args.path, args.body)
print connection.getresponse().read()