diff options
author | mutantturkey <crazycal00@gmail.com> | 2011-01-02 13:06:16 -0500 |
---|---|---|
committer | mutantturkey <crazycal00@gmail.com> | 2011-01-02 13:06:16 -0500 |
commit | 50538fa56a574b318842ab3b0db413272153602c (patch) | |
tree | 18a7a2e077aeda74fff2d08839d04316bea5d763 | |
parent | fda5bdf11c8835de819537ead1d99adb0cabcb0a (diff) |
mimetype mappings updated
-rw-r--r-- | CHANGELOG | 6 | ||||
-rw-r--r-- | shttpd.c | 5 |
2 files changed, 7 insertions, 4 deletions
@@ -4,10 +4,10 @@ 01-02-2011: CHANGELOG: CHANGELOG created, format should be M-D-YEAR: FILE: MESSAGE 01-02-2011: darkhttpd.c: --help returns usage(); 01-02-2011: darkhttpd.c: when used with no arguments defaults wwwroot directory the CWD -01-02-2011: AUTHORS: updated with Calvin Morrison +01-02-2011: AUTHORS: Calvin Morrison 01-02-2011: Makefile: added -O2 -Wall to CFLAGS, removed nonexisting files from clean function 01-02-2011: darkhttpd.c renamed shttpd.c, rebranded at Version 0.1 -01-02-2011: Makefile: updated to shttpd/shttpd.c - +01-02-2011: Makefile: replaced darkhttpd with shttpd/shttpd.c +01-02-2011: shttpd.c: more mimetype mappings added to original list @@ -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", |