From d5f3217875ca86f6d4c0714c86c1eb8cbe232740 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 21 Sep 2023 07:32:22 +0000 Subject: Add more default content-types Signed-off-by: Laurent Bercot --- src/config/defaults.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/config') diff --git a/src/config/defaults.c b/src/config/defaults.c index 5913796..390bb81 100644 --- a/src/config/defaults.c +++ b/src/config/defaults.c @@ -31,10 +31,12 @@ struct defaults_s const defaults[] = REC("T:c", "text/plain"), REC("T:cc", "text/plain"), REC("T:cpp", "text/plain"), + REC("T:ass", "text/plain"), REC("T:java", "text/plain"), REC("T:mjs", "text/javascript"), REC("T:css", "text/css"), REC("T:csv", "text/csv"), + REC("T:sub", "text/vnd.dvb.subtitle"), REC("T:doc", "application/msword"), REC("T:docx", "application/vnd.openxmlformats-officedocument.wordprocessingml.document"), REC("T:js", "application/javascript"), @@ -63,6 +65,7 @@ struct defaults_s const defaults[] = REC("T:mpe", "video/mpeg"), REC("T:mpeg", "video/mpeg"), REC("T:mp4", "video/mp4"), + REC("T:mkv", "video/x-matroska"), REC("T:otf", "font/otf"), REC("T:ttf", "font/ttf"), REC("T:epub", "application/epub+zip"), @@ -79,6 +82,7 @@ struct defaults_s const defaults[] = REC("T:rar", "application/vnd.rar"), REC("T:rtf", "application/rtf"), REC("T:sh", "application/x-sh"), + REC("T:srt", "application/x-subrip"), REC("T:tar", "application/x-tar"), REC("T:xhtml", "application/xhtml+xml"), REC("T:xls", "application/vnd.ms-excel"), -- cgit 1.4.1