From 4e2b135ac20b40b48ad752b28346a08563efdaef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arne=20Schl=C3=BCter?= Date: Fri, 25 Mar 2016 23:00:40 +0100 Subject: [PATCH] Fix content type for articles --- server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server.py b/server.py index adf5e8c..1289f30 100644 --- a/server.py +++ b/server.py @@ -56,6 +56,7 @@ def articles(): } conn.close() + bottle.response.content_type = "application/json" return json.dumps([article for article_id, article in articles.items()]) @bottle.get('/static/')