402185 updated javascript mime-type
This commit is contained in:
parent
056be85766
commit
41f7df18a6
|
@ -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
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue