Skip to content
Browse files

change a few mime types back to maintain compatibility and pass tests

  • Loading branch information...
1 parent 61f0640 commit a9d59e61c7fd69453ef30bfdc18f631b94454942 @etrepum etrepum committed Apr 20, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/mochiweb_mime.erl
View
6 src/mochiweb_mime.erl
@@ -125,7 +125,7 @@ from_extension(".mif") ->
from_extension(".com") ->
"application/x-msdos-program";
from_extension(".exe") ->
- "application/x-msdos-program";
+ "application/octet-stream";
from_extension(".cdf") ->
"application/x-netcdf";
from_extension(".nc") ->
@@ -177,7 +177,7 @@ from_extension(".ustar") ->
from_extension(".src") ->
"application/x-wais-source";
from_extension(".zip") ->
- "application/x-zip-compressed";
+ "application/zip";
from_extension(".tsi") ->
"audio/TSP-audio";
from_extension(".au") ->
@@ -305,7 +305,7 @@ from_extension(".jad") ->
from_extension(".etx") ->
"text/x-setext";
from_extension(".xml") ->
- "text/xml";
+ "application/xml";
from_extension(".dl") ->
"video/dl";
from_extension(".fli") ->

0 comments on commit a9d59e6

Please sign in to comment.
Something went wrong with that request. Please try again.