summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2014-04-07 09:24:08 +0000
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2014-04-07 09:24:08 +0000
commitd2800654110a65e638469a76b6bbc9f8e6702578 (patch)
treeac4b07e76750c824c35db35890d7a966401a8cd6
parent20e995e05dfa0e13ba24cec831e1e5b9c17dd9cb (diff)
downloadmorph-cache-server-baserock/richardipsum/post_artifacts_br.tar.gz
-rwxr-xr-xmorph-cache-server6
1 files changed, 0 insertions, 6 deletions
diff --git a/morph-cache-server b/morph-cache-server
index e633d90..8ff7f44 100755
--- a/morph-cache-server
+++ b/morph-cache-server
@@ -307,13 +307,7 @@ class MorphCacheServer(cliapp.Application):
@app.post('/artifacts')
def post_artifacts():
- #artifacts = request.forms.get('artifacts').split(',')
-
- # TODO: we probably ought to figure out why this is being
- # returned as a list
artifacts = urlparse.parse_qs(request.body.read())['artifacts'][0].split(',')
- logging.debug(artifacts)
-
results = {}
logging.debug('Received a POST request for /artifacts')