quark

quark web server
git clone git://git.suckless.org/quark
Log | Files | Refs | LICENSE

commit f04929e729992dcc435370a60b5e92bcd5bdfe81
parent cd2893965f901310e44466a53c19a703b0ece107
Author: FRIGN <dev@frign.de>
Date:   Fri,  2 Sep 2016 11:08:54 +0200

Add a few more mime types

Diffstat:
Mconfig.def.h | 19++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -16,20 +16,25 @@ static const struct { { "xml", "application/xml" }, { "xhtml", "application/xhtml+xml" }, { "html", "text/html; charset=UTF-8" }, - { "html", "text/html; charset=UTF-8" }, { "htm", "text/html; charset=UTF-8" }, { "css", "text/css" }, { "txt", "text/plain" }, { "text", "text/plain" }, { "md", "text/plain" }, - { "png", "image/png" }, - { "gif", "image/gif" }, - { "jpg", "image/jpg" }, { "c", "text/plain" }, { "h", "text/plain" }, - { "iso", "application/x-iso9660-image" }, { "gz", "application/x-gtar" }, - { "pdf", "application/x-pdf" }, { "tar", "application/tar" }, - { "mp3", "audio/mp3" }, + { "pdf", "application/x-pdf" }, + { "png", "image/png" }, + { "gif", "image/gif" }, + { "jpg", "image/jpg" }, + { "iso", "application/x-iso9660-image" }, + { "webp", "image/webp" }, + { "svg", "image/svg+xml" }, + { "flac", "audio/flac" }, + { "mp3", "audio/mpeg" }, + { "mp4", "video/mp4" }, + { "ogv", "video/ogg" }, + { "webm", "video/webm" }, };