config: add some more common mime-types

This commit is contained in:
Hiltjo Posthuma 2014-11-30 14:44:43 +01:00 committed by FRIGN
parent 192f44046c
commit 70359ae2e9

View file

@ -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" }
};