cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r618339 - /cocoon/branches/BRANCH_2_1_X/src/blocks/ajax/resources/org/apache/cocoon/ajax/system/sitemap.xmap
Date Mon, 04 Feb 2008 17:35:05 GMT
Author: antonio
Date: Mon Feb  4 09:35:03 2008
New Revision: 618339

URL: http://svn.apache.org/viewvc?rev=618339&view=rev
Log:
Use json-comment-filtered mime-type in response header.

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/ajax/resources/org/apache/cocoon/ajax/system/sitemap.xmap

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/ajax/resources/org/apache/cocoon/ajax/system/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/blocks/ajax/resources/org/apache/cocoon/ajax/system/sitemap.xmap?rev=618339&r1=618338&r2=618339&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/ajax/resources/org/apache/cocoon/ajax/system/sitemap.xmap
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/ajax/resources/org/apache/cocoon/ajax/system/sitemap.xmap
Mon Feb  4 09:35:03 2008
@@ -24,19 +24,19 @@
 
 -->
 <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
-    
+
     <map:flow language="javascript">
         <map:script src="System.Upload.js"/>
     </map:flow>
-    
+
     <map:pipelines>
         <map:pipeline>
-            
+
             <!-- JSON support -->
             <map:match pattern="send-json">
-                <map:read src="module:flow-attr:json" mime-type="text/javascript" />
+                <map:read src="module:flow-attr:json" mime-type="text/json-comment-filtered"
/>
             </map:match>
-            
+
             <!-- upload progress bar support -->
             <map:match pattern="upload/*">
                 <map:call function="System.Upload.{1}">
@@ -44,7 +44,7 @@
                     <map:parameter name="location" value="i18n"/>
                 </map:call>
             </map:match>
-        
+
         </map:pipeline>
     </map:pipelines>
 



Mime
View raw message