Skip to content

Commit

Permalink
exts: Know the SVG type.
Browse files Browse the repository at this point in the history
It's fixed by W3C. Chrome might not especially like it, but Chrome can suck
it. (Actually, it works fine for standalone SVGs, just not for fonts.)
  • Loading branch information
MostAwesomeDude committed Jul 11, 2013
1 parent 2e8e1db commit e1b10f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flask_holster/exts.py
@@ -1,6 +1,7 @@
ext_dict = {
"html": "text/html",
"json": "application/json",
"svg": "image/svg+xml",
# The YAML MIME type is not standardized. This is the same type Rails
# uses; hopefully it is close enough.
"yaml": "application/x-yaml",
Expand Down

0 comments on commit e1b10f9

Please sign in to comment.