Recognise .html extension

This commit is contained in:
Juhani Haverinen 2016-08-18 16:58:19 +03:00
parent 836b21824d
commit e278d5d600
1 changed files with 1 additions and 1 deletions

View File

@ -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()