402185 updated javascript mime-type

This commit is contained in:
Greg Wilkins 2013-03-04 16:52:49 +11:00
parent 056be85766
commit 41f7df18a6
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ jnlp=application/x-java-jnlp-file
jpe=image/jpeg
jpeg=image/jpeg
jpg=image/jpeg
js=application/x-javascript
js=application/javascript
jsp=text/html
kar=audio/midi
latex=application/x-latex

View File

@ -99,7 +99,7 @@ public class IncludableGzipFilterMinSizeTest
tester.setGzipFilterClass(IncludableGzipFilter.class);
FilterHolder holder = tester.setContentServlet(testServlet);
holder.setInitParameter("mimeTypes","application/soap+xml,text/javascript,application/x-javascript");
holder.setInitParameter("mimeTypes","application/soap+xml,text/javascript,application/javascript");
holder.setInitParameter("minGzipSize", "2048");
holder.setInitParameter("uncheckedPrintWriter","true");