From a211a803294cebda00fe68b9b4a26ebadc6a067f Mon Sep 17 00:00:00 2001 From: Andrei Eftimie Date: Wed, 25 Jun 2014 10:39:33 +0300 Subject: [PATCH] Add JSON and XPI content type support (#30) --- wptserve/constants.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wptserve/constants.py b/wptserve/constants.py index e26510137eaa33..385e512c7d5d2a 100644 --- a/wptserve/constants.py +++ b/wptserve/constants.py @@ -1,8 +1,10 @@ import utils content_types = utils.invert_dict({"text/html": ["htm", "html"], + "application/json": ["json"], "application/xhtml+xml": ["xht", "xhtm", "xhtml"], "application/xml": ["xml"], + "application/x-xpinstall": ["xpi"], "text/javascript": ["js"], "text/css": ["css"], "text/plain": ["txt", "md"],