diff --git a/httpd.c b/httpd.c index 4b978e1..baa97df 100644 --- a/httpd.c +++ b/httpd.c @@ -691,26 +691,28 @@ static struct mimeentry { const char* name, *type; } mimetab[] = { { "htm", "text/html; charset=UTF-8" }, { "txt", "text/plain; charset=UTF-8" }, { "css", "text/css" }, - { "dvi", "application/x-dvi" }, { "ps", "application/postscript" }, { "pdf", "application/pdf" }, + { "js", "application/javascript" }, { "gif", "image/gif" }, { "png", "image/png" }, { "jpeg", "image/jpeg" }, - { "bild", "image/jpeg" }, { "jpg", "image/jpeg" }, + { "svg", "image/svg+xml" }, { "mpeg", "video/mpeg" }, { "mpg", "video/mpeg" }, { "avi", "video/x-msvideo" }, { "mov", "video/quicktime" }, { "qt", "video/quicktime" }, { "mp3", "audio/mpeg" }, - { "ogg", "audio/x-oggvorbis" }, + { "ogg", "audio/ogg" }, { "wav", "audio/x-wav" }, + { "epub", "application/epub+zip" }, + { "dvi", "application/x-dvi" }, { "pac", "application/x-ns-proxy-autoconfig" }, { "sig", "application/pgp-signature" }, + { "swf", "application/x-shockwave-flash" }, { "torrent", "application/x-bittorrent" }, - { "js", "application/x-javascript" }, { "tar", "application/x-tar" }, { "zip", "application/zip" }, { "dtd", "text/xml" },