mirror of https://github.com/CIRCL/PyCIRCLean
Improve RTF support
parent
fda900afc8
commit
04f2185b5d
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue