From: Radek Czajka Date: Mon, 18 Oct 2021 10:14:14 +0000 (+0200) Subject: Add missing content type for text. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/66cc5b69e597087e8ab5b52f8e8aff1d942d6674 Add missing content type for text. --- diff --git a/src/catalogue/constants.py b/src/catalogue/constants.py index 4eb84c60a..6925880a1 100644 --- a/src/catalogue/constants.py +++ b/src/catalogue/constants.py @@ -34,7 +34,7 @@ EBOOK_FORMATS = EBOOK_FORMATS_WITHOUT_CHILDREN + EBOOK_FORMATS_WITH_CHILDREN EBOOK_CONTENT_TYPES = { 'html': 'text/html', 'pdf': 'application/pdf', - 'txt': 'text/plain', + 'txt': 'text/plain; charset=utf-8', 'epub': 'application/epub+zip', 'mobi': 'application/x-mobipocket-ebook', 'fb2': 'text/xml',