Navigation Menu

Skip to content

Commit

Permalink
Add media type for MessagePack
Browse files Browse the repository at this point in the history
  • Loading branch information
felixonmars committed Mar 21, 2015
1 parent ac26ddf commit 6af6089
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mimerender.py
Expand Up @@ -32,6 +32,7 @@ class MimeRenderException(Exception): pass
ICAL = 'ical'
KML = 'kml'
KMZ = 'kmz'
MSGPACK = 'msgpack'

_MIME_TYPES = {
XML: ('application/xml', 'text/xml', 'application/x-xml',),
Expand All @@ -54,6 +55,7 @@ class MimeRenderException(Exception): pass
ICAL: ('text/calendar',),
KML: ('application/vnd.google-earth.kml+xml',),
KMZ: ('application/vnd.google-earth.kmz',),
MSGPACK: ('application/x-msgpack',),
}

def register_mime(shortname, mime_types):
Expand Down

0 comments on commit 6af6089

Please sign in to comment.