Author: hlship
Date: Wed Apr  8 20:21:44 2009
New Revision: 763377

URL: http://svn.apache.org/viewvc?rev=763377&view=rev
Log:
TAP5-469: ResponseCompressionAnalyzer: application/json responses should be 
uncompressable by default

Modified:
    
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java

Modified: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java?rev=763377&r1=763376&r2=763377&view=diff
==============================================================================
--- 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java
 (original)
+++ 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/TapestryModule.java
 Wed Apr  8 20:21:44 2009
@@ -2307,7 +2307,7 @@
 
     /**
      * Contibutions are content types that do not benefit from compression. 
Adds the following content types: <ul>
-     * <li>image/jpeg</li> <li>image/gif <li>image/png </ul>
+     * <li>image/jpeg</li> <li>image/gif <li>image/png <li>application/json 
(see https://issues.apache.org/jira/browse/TAP5-469)</ul>
      *
      * @since 5.1.0.0
      */
@@ -2316,6 +2316,7 @@
         configuration.add("image/jpeg");
         configuration.add("image/gif");
         configuration.add("image/png");
+        configuration.add("application/json");
     }
 
     /**


Reply via email to