From 54032d736ad95c37eede8e6bbda1fb54f96cde80 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Fri, 3 Feb 2012 22:10:58 -0700 Subject: [PATCH] Add some content-types --- httpd.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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" },