summaryrefslogtreecommitdiffstats
path: root/proxy/code/scripts
diff options
context:
space:
mode:
authorjesus m. rodriguez <jesusr@redhat.com>2009-07-10 18:05:54 -0400
committerjesus m. rodriguez <jesusr@redhat.com>2009-07-10 18:11:30 -0400
commita74331b3af312bac22cfa8e3158ff17effe8f391 (patch)
tree5071c29d618cfd59b44bb4c6d602bae2ef3d0122 /proxy/code/scripts
parent76f34cde7b2ee55e5f5faeabc64959f214b9777c (diff)
downloadcandlepin-a74331b3af312bac22cfa8e3158ff17effe8f391.tar.gz
candlepin-a74331b3af312bac22cfa8e3158ff17effe8f391.tar.xz
candlepin-a74331b3af312bac22cfa8e3158ff17effe8f391.zip
change to ask for json
Diffstat (limited to 'proxy/code/scripts')
-rwxr-xr-xproxy/code/scripts/test-connection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/proxy/code/scripts/test-connection.py b/proxy/code/scripts/test-connection.py
index 9cd844b..0aaca74 100755
--- a/proxy/code/scripts/test-connection.py
+++ b/proxy/code/scripts/test-connection.py
@@ -11,7 +11,7 @@ param = sys.argv[1]
params = urllib.urlencode({'message':sys.argv[1]})
headers = {"Content-type":"application/x-www-form-urlencoded",
- "Accept": "text/plain"}
+ "Accept": "application/json"}
conn = httplib.HTTPConnection("localhost", 8080)
conn.request("POST", '/candlepin/helloworld', params, headers)
#response = conn.getresponse()