diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-09-21 07:32:22 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-09-21 07:32:22 +0000 |
commit | d5f3217875ca86f6d4c0714c86c1eb8cbe232740 (patch) | |
tree | 80cc6a5e24dcefffcc3ee2e57999b244224783c5 /src/config/defaults.c | |
parent | 0251ba5cc54cdd24092e442ab7ec364b97d42601 (diff) | |
download | tipidee-d5f3217875ca86f6d4c0714c86c1eb8cbe232740.tar.xz |
Add more default content-types
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/config/defaults.c')
-rw-r--r-- | src/config/defaults.c | 4 |
1 files changed, 4 insertions, 0 deletions
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"), |