Skip to content
This repository
Browse code

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

  • Loading branch information...
commit a9d59e61c7fd69453ef30bfdc18f631b94454942 1 parent 61f0640
Bob Ippolito etrepum authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +3 3 src/mochiweb_mime.erl
6 src/mochiweb_mime.erl
@@ -125,7 +125,7 @@ from_extension(".mif") ->
125 125 from_extension(".com") ->
126 126 "application/x-msdos-program";
127 127 from_extension(".exe") ->
128   - "application/x-msdos-program";
  128 + "application/octet-stream";
129 129 from_extension(".cdf") ->
130 130 "application/x-netcdf";
131 131 from_extension(".nc") ->
@@ -177,7 +177,7 @@ from_extension(".ustar") ->
177 177 from_extension(".src") ->
178 178 "application/x-wais-source";
179 179 from_extension(".zip") ->
180   - "application/x-zip-compressed";
  180 + "application/zip";
181 181 from_extension(".tsi") ->
182 182 "audio/TSP-audio";
183 183 from_extension(".au") ->
@@ -305,7 +305,7 @@ from_extension(".jad") ->
305 305 from_extension(".etx") ->
306 306 "text/x-setext";
307 307 from_extension(".xml") ->
308   - "text/xml";
  308 + "application/xml";
309 309 from_extension(".dl") ->
310 310 "video/dl";
311 311 from_extension(".fli") ->

0 comments on commit a9d59e6

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