aboutsummaryrefslogtreecommitdiff
path: root/shttpd.c
diff options
context:
space:
mode:
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",