Add some content-types

This commit is contained in:
Neale Pickett 2012-02-03 22:10:58 -07:00
parent ca73f41f75
commit 54032d736a
1 changed files with 6 additions and 4 deletions

10
httpd.c
View File

@ -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" },