From ee1f5bc15dc82b24ea9ef4bbbc1d19b576d63211 Mon Sep 17 00:00:00 2001 From: Alexander Moisseev Date: Fri, 10 Apr 2020 10:06:53 +0300 Subject: [Minor] Add application/7z CT --- lualib/lua_mime.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lualib/lua_mime.lua b/lualib/lua_mime.lua index b839933b0..6d8d75b9b 100644 --- a/lualib/lua_mime.lua +++ b/lualib/lua_mime.lua @@ -255,7 +255,7 @@ exports.full_extensions_map = { {"3gp", "video/3gpp"}, {"3gp2", "video/3gpp2"}, {"3gpp", "video/3gpp"}, - {"7z", "application/x-7z-compressed"}, + {"7z", {"application/x-7z-compressed", "application/7z"}}, {"aa", "audio/audible"}, {"AAC", "audio/aac"}, {"aaf", "application/octet-stream"}, @@ -969,4 +969,4 @@ exports.reversed_extensions_map = { ["video/x-msvideo"] = "avi", } -return exports \ No newline at end of file +return exports -- cgit v1.2.3