From e278d5d6002afd08f9adb645a2994777f4ca5f10 Mon Sep 17 00:00:00 2001 From: Juhani Haverinen Date: Thu, 18 Aug 2016 16:58:19 +0300 Subject: [PATCH] Recognise .html extension --- neomi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neomi.py b/neomi.py index defa747..4abb390 100644 --- a/neomi.py +++ b/neomi.py @@ -352,7 +352,7 @@ def read_infofile(file_path): infofiles_cached.add(file_path) # TODO: Read from file -extension_mimetypes = {'.txt': 'text/plain', '.text': 'text/plain', '.log': 'text/plain'} +extension_mimetypes = {'.txt': 'text/plain', '.text': 'text/plain', '.log': 'text/plain', '.html': 'text/html'} mimetype_cache = {} mimetype_cache_lock = threading.Lock()