[hackers] [quark] config: add some more common mime-types || Hiltjo Posthuma

From: <git_AT_suckless.org>
Date: Sun, 30 Nov 2014 23:35:53 +0100

commit 70359ae2e9252954684a68f624f0d6218c520be9
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Sun Nov 30 14:44:43 2014 +0100

    config: add some more common mime-types

diff --git a/config.def.h b/config.def.h
index 716fb0d..a17a84b 100644
--- a/config.def.h
+++ b/config.def.h
_AT_@ -16,16 +16,35 @@ static const MimeType servermimes[] = {
         { "html", "text/html; charset=UTF-8" },
         { "htm", "text/html; charset=UTF-8" },
         { "css", "text/css" },
- { "js", "application/javascript" },
+ { "c", "text/plain" },
+ { "h", "text/plain" },
+ { "go", "text/plain" },
+ { "sh" "text/plain" },
+ { "log", "text/plain" },
         { "txt", "text/plain" },
         { "md", "text/plain" },
         { "png", "image/png" },
         { "gif", "image/gif" },
         { "jpeg", "image/jpeg" },
         { "jpg", "image/jpeg" },
- { "iso", "application/x-iso9660-image" },
- { "gz", "application/x-gtar" },
+ { "webp", "image/webp" },
+ { "xml", "application/xml" },
+ { "js", "application/javascript" },
+ { "bz2", "application/x-bzip2" },
+ { "gz", "application/x-gzip" },
+ { "xz", "application/x-xz" },
+ { "tgz", "application/x-gtar" },
         { "pdf", "application/x-pdf" },
- { "tar", "application/tar" },
- { "mp3", "audio/mp3" }
+ { "tar", "application/x-tar" },
+ { "zip", "application/zip" },
+ { "iso", "application/x-iso9660-image" },
+ { "ogx", "application/ogg" },
+ { "flac", "audio/flac" },
+ { "mp3", "audio/mp3" },
+ { "oga", "audio/ogg" },
+ { "ogg", "audio/ogg" },
+ { "avi", "video/x-msvideo" },
+ { "mp4", "video/mp4" },
+ { "ogv", "video/ogg" },
+ { "webm", "video/webm" }
 };
Received on Sun Nov 30 2014 - 23:35:53 CET

This archive was generated by hypermail 2.3.0 : Sun Nov 30 2014 - 23:36:11 CET