Skip to content

Commit

Permalink
Merge pull request #31 from andreieftimie/xpi-support
Browse files Browse the repository at this point in the history
Add JSON and XPI content type support (#30)
  • Loading branch information
jgraham committed Jul 1, 2014
2 parents 6cd48a6 + a211a80 commit 794376c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wptserve/constants.py
Original file line number Diff line number Diff line change
@@ -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"],
Expand Down

0 comments on commit 794376c

Please sign in to comment.