Improve RTF support

pull/9/head
Raphaël Vinot 2016-05-17 14:10:14 +02:00
parent fda900afc8
commit 04f2185b5d
1 changed files with 3 additions and 1 deletions

View File

@ -46,7 +46,9 @@ mimes_metadata = ['image/jpeg', 'image/tiff', 'image/png']
aliases = { aliases = {
# Win executables # Win executables
'application/x-msdos-program': 'application/x-dosexec', 'application/x-msdos-program': 'application/x-dosexec',
'application/x-dosexec': 'application/x-msdos-program' 'application/x-dosexec': 'application/x-msdos-program',
# Other apps with confusing mimetypes
'application/rtf': 'text/rtf',
} }
# Sometimes, mimetypes.guess_type is giving unexpected results, such as for the .tar.gz files: # Sometimes, mimetypes.guess_type is giving unexpected results, such as for the .tar.gz files: