add epub and wmv content types

This commit is contained in:
Jack Robison 2018-12-07 13:06:36 -05:00
parent 014cbb4623
commit 6180a2917d
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -26,6 +26,7 @@ types_map = {
'.dvi': 'application/x-dvi',
'.eml': 'message/rfc822',
'.eps': 'application/postscript',
'.epub': 'application/epub+zip',
'.etx': 'text/x-setext',
'.exe': 'application/octet-stream',
'.gif': 'image/gif',
@ -142,7 +143,11 @@ types_map = {
'.pic': 'image/pict',
'.pict': 'image/pict',
'.rtf': 'application/rtf',
'.xul': 'text/xul'
'.xul': 'text/xul',
# microsoft is special and has its own 'standard'
# https://docs.microsoft.com/en-us/windows/desktop/wmp/file-name-extensions
'.wmv': 'video/x-ms-wmv'
}