1 #ifndef _UHTTPD_MIMETYPES_
3 static struct mimetype uh_mime_types[] = {
5 { "txt", "text/plain" },
6 { "log", "text/plain" },
7 { "js", "text/javascript" },
9 { "htm", "text/html" },
10 { "html", "text/html" },
11 { "diff", "text/x-patch" },
12 { "patch", "text/x-patch" },
13 { "c", "text/x-csrc" },
14 { "h", "text/x-chdr" },
15 { "o", "text/x-object" },
16 { "ko", "text/x-object" },
18 { "bmp", "image/bmp" },
19 { "gif", "image/gif" },
20 { "png", "image/png" },
21 { "jpg", "image/jpeg" },
22 { "jpeg", "image/jpeg" },
23 { "svg", "image/svg+xml" },
25 { "zip", "application/zip" },
26 { "pdf", "application/pdf" },
27 { "xml", "application/xml" },
28 { "xsl", "application/xml" },
29 { "doc", "application/msword" },
30 { "ppt", "application/vnd.ms-powerpoint" },
31 { "xls", "application/vnd.ms-excel" },
32 { "odt", "application/vnd.oasis.opendocument.text" },
33 { "odp", "application/vnd.oasis.opendocument.presentation" },
34 { "pl", "application/x-perl" },
35 { "sh", "application/x-shellscript" },
36 { "php", "application/x-php" },
37 { "deb", "application/x-deb" },
38 { "iso", "application/x-cd-image" },
39 { "tgz", "application/x-compressed-tar" },
40 { "gz", "application/x-gzip" },
41 { "bz2", "application/x-bzip" },
42 { "tar", "application/x-tar" },
43 { "rar", "application/x-rar-compressed" },
45 { "mp3", "audio/mpeg" },
46 { "ogg", "audio/x-vorbis+ogg" },
47 { "wav", "audio/x-wav" },
49 { "mpg", "video/mpeg" },
50 { "mpeg", "video/mpeg" },
51 { "avi", "video/x-msvideo" },
53 { "README", "text/plain" },
54 { "log", "text/plain" },
55 { "cfg", "text/plain" },
56 { "conf", "text/plain" },