From 7b4f4cdb1f133ba0077f11fb7c85809a294c18d2 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sun, 18 Aug 2019 19:55:05 -0700 Subject: [PATCH] Use font/ mimes instead of application/font- --- epubfile.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/epubfile.py b/epubfile.py index 714d21b..cd52252 100644 --- a/epubfile.py +++ b/epubfile.py @@ -32,10 +32,10 @@ EXTENSION_MIMETYPES = { 'smi': 'application/smil+xml', 'smil': 'application/smil+xml', 'sml': 'application/smil+xml', - 'otf': 'application/font-sfnt', - 'ttf': 'application/font-sfnt', 'pls': 'application/pls+xml', - 'woff': 'application/font-woff', + 'otf': 'font/otf', + 'ttf': 'font/ttf', + 'woff': 'font/woff', 'woff2': 'font/woff2', }