config: add some more common mime-types
This commit is contained in:
parent
192f44046c
commit
70359ae2e9
1 changed files with 24 additions and 5 deletions
29
config.def.h
29
config.def.h
|
@ -16,16 +16,35 @@ static const MimeType servermimes[] = {
|
||||||
{ "html", "text/html; charset=UTF-8" },
|
{ "html", "text/html; charset=UTF-8" },
|
||||||
{ "htm", "text/html; charset=UTF-8" },
|
{ "htm", "text/html; charset=UTF-8" },
|
||||||
{ "css", "text/css" },
|
{ "css", "text/css" },
|
||||||
{ "js", "application/javascript" },
|
{ "c", "text/plain" },
|
||||||
|
{ "h", "text/plain" },
|
||||||
|
{ "go", "text/plain" },
|
||||||
|
{ "sh" "text/plain" },
|
||||||
|
{ "log", "text/plain" },
|
||||||
{ "txt", "text/plain" },
|
{ "txt", "text/plain" },
|
||||||
{ "md", "text/plain" },
|
{ "md", "text/plain" },
|
||||||
{ "png", "image/png" },
|
{ "png", "image/png" },
|
||||||
{ "gif", "image/gif" },
|
{ "gif", "image/gif" },
|
||||||
{ "jpeg", "image/jpeg" },
|
{ "jpeg", "image/jpeg" },
|
||||||
{ "jpg", "image/jpeg" },
|
{ "jpg", "image/jpeg" },
|
||||||
{ "iso", "application/x-iso9660-image" },
|
{ "webp", "image/webp" },
|
||||||
{ "gz", "application/x-gtar" },
|
{ "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" },
|
{ "pdf", "application/x-pdf" },
|
||||||
{ "tar", "application/tar" },
|
{ "tar", "application/x-tar" },
|
||||||
{ "mp3", "audio/mp3" }
|
{ "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" }
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue