summaryrefslogtreecommitdiff
path: root/http
diff options
context:
space:
mode:
Diffstat (limited to 'http')
-rwxr-xr-xhttp5
1 files changed, 3 insertions, 2 deletions
diff --git a/http b/http
index 176e01a..cbf89b2 100755
--- a/http
+++ b/http
@@ -6,10 +6,11 @@ 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('54.228.219.55:9000')
connection.request(args.method, args.path, args.body)
print connection.getresponse().read()
-#connection = httplib.HTTPConnection('54.228.219.55:9000')
+#connection = httplib.HTTPConnection('54.228.219.55:80')
+#connection = httplib.HTTPConnection('127.0.0.1:9000')