contrib/package: add uhttpd, a drop-in replacement for busybox httpd
[project/luci.git] / contrib / package / uhttpd / src / uhttpd-mimetypes.h
1 #ifndef _UHTTPD_MIMETYPES_
2
3 static struct mimetype uh_mime_types[] = {
4
5         { "txt",    "text/plain" },
6         { "log",    "text/plain" },
7         { "js",     "text/javascript" },
8         { "css",    "text/css" },
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" },
17
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" },
24
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" },
44
45         { "mp3",    "audio/mpeg" },
46         { "ogg",    "audio/x-vorbis+ogg" },
47         { "wav",    "audio/x-wav" },
48
49         { "mpg",    "video/mpeg" },
50         { "mpeg",   "video/mpeg" },
51         { "avi",    "video/x-msvideo" },
52
53         { "README", "text/plain" },
54         { "log",    "text/plain" },
55         { "cfg",    "text/plain" },
56         { "conf",   "text/plain" },
57
58         { NULL, NULL }
59 };
60
61 #endif
62