From 7ddfa1881be4aee0fc832a3aef8b2a8234029130 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 1 Oct 2017 17:15:44 +0200 Subject: [PATCH] added FB2 mime type --- cps/web.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cps/web.py b/cps/web.py index 5873bad8..70903812 100755 --- a/cps/web.py +++ b/cps/web.py @@ -203,6 +203,7 @@ class ReverseProxied(object): mimetypes.init() mimetypes.add_type('application/xhtml+xml', '.xhtml') mimetypes.add_type('application/epub+zip', '.epub') +mimetypes.add_type('application/fb2+zip', '.fb2') mimetypes.add_type('application/x-mobipocket-ebook', '.mobi') mimetypes.add_type('application/x-mobipocket-ebook', '.prc') mimetypes.add_type('application/vnd.amazon.ebook', '.azw')