aboutsummaryrefslogtreecommitdiff
path: root/shttpd.c
diff options
context:
space:
mode:
authormutantturkey <crazycal00@gmail.com>2011-01-02 13:06:16 -0500
committermutantturkey <crazycal00@gmail.com>2011-01-02 13:06:16 -0500
commit50538fa56a574b318842ab3b0db413272153602c (patch)
tree18a7a2e077aeda74fff2d08839d04316bea5d763 /shttpd.c
parentfda5bdf11c8835de819537ead1d99adb0cabcb0a (diff)
mimetype mappings updated
Diffstat (limited to 'shttpd.c')
-rw-r--r--shttpd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/shttpd.c b/shttpd.c
index 7d79082..949f980 100644
--- a/shttpd.c
+++ b/shttpd.c
@@ -277,14 +277,17 @@ static const char *default_extension_map[] = {
"application/xml-dtd" " dtd",
"application/xslt+xml" " xslt",
"application/zip" " zip",
+ "application/x-tar" " tar",
+ "application/x-bzip2" " bz2 boz bz"
"audio/mpeg" " mp2 mp3 mpga",
+ "audio/midi" " midi mid";
"image/gif" " gif",
"image/jpeg" " jpeg jpe jpg",
"image/png" " png",
"text/css" " css",
"text/html" " html htm",
"text/javascript" " js",
- "text/plain" " txt asc",
+ "text/plain" " txt asc h c",
"video/mpeg" " mpeg mpe mpg",
"video/quicktime" " qt mov",
"video/x-msvideo" " avi",