diff --git a/cps/__init__.py b/cps/__init__.py index 1b1fa191..eb94fcfb 100644 --- a/cps/__init__.py +++ b/cps/__init__.py @@ -56,7 +56,7 @@ mimetypes.add_type('application/xhtml+xml', '.xhtml') mimetypes.add_type('application/epub+zip', '.epub') mimetypes.add_type('application/epub+zip', '.kepub') mimetypes.add_type('application/fb2+zip', '.fb2') -mimetypes.add_type('application/octet-stream', '.mobi') +mimetypes.add_type('application/x-mobipocket-ebook', '.mobi') mimetypes.add_type('application/octet-stream', '.prc') mimetypes.add_type('application/vnd.amazon.ebook', '.azw') mimetypes.add_type('application/x-mobi8-ebook', '.azw3') @@ -78,6 +78,7 @@ mimetypes.add_type('application/ogg', '.oga') mimetypes.add_type('text/css', '.css') mimetypes.add_type('application/x-ms-reader', '.lit') mimetypes.add_type('text/javascript; charset=UTF-8', '.js') +mimetypes.add_type('text/rtf', '.rtf') log = logger.create()