fix incorrect media-type of .cbr archives

This commit is contained in:
Baltazar Gomez 2019-05-05 15:49:02 -06:00 committed by Lex Berezhny
parent 32b8601c38
commit a030e13548

View file

@ -137,7 +137,7 @@ types_map = {
'.zip': ('application/zip', 'binary'), '.zip': ('application/zip', 'binary'),
# These are non-standard types, commonly found in the wild. # These are non-standard types, commonly found in the wild.
'.cbr': ('application/vnd.comicbook+zip', 'document'), '.cbr': ('application/vnd.comicbook-rar', 'document'),
'.cbz': ('application/vnd.comicbook+zip', 'document'), '.cbz': ('application/vnd.comicbook+zip', 'document'),
'.lbry': ('application/x-ext-lbry', 'document'), '.lbry': ('application/x-ext-lbry', 'document'),
'.mid': ('audio/midi', 'audio'), '.mid': ('audio/midi', 'audio'),