lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andr...@apache.org
Subject svn commit: r1078802 - /lenya/branches/BRANCH_2_1_X/src/webapp/lenya/config/sitemap/serializers.xmap
Date Mon, 07 Mar 2011 15:02:53 GMT
Author: andreas
Date: Mon Mar  7 15:02:53 2011
New Revision: 1078802

URL: http://svn.apache.org/viewvc?rev=1078802&view=rev
Log:
Set Content-Length header in serializers.

Modified:
    lenya/branches/BRANCH_2_1_X/src/webapp/lenya/config/sitemap/serializers.xmap

Modified: lenya/branches/BRANCH_2_1_X/src/webapp/lenya/config/sitemap/serializers.xmap
URL: http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_1_X/src/webapp/lenya/config/sitemap/serializers.xmap?rev=1078802&r1=1078801&r2=1078802&view=diff
==============================================================================
--- lenya/branches/BRANCH_2_1_X/src/webapp/lenya/config/sitemap/serializers.xmap (original)
+++ lenya/branches/BRANCH_2_1_X/src/webapp/lenya/config/sitemap/serializers.xmap Mon Mar 
7 15:02:53 2011
@@ -31,6 +31,7 @@
     pool-min="4" src="org.apache.cocoon.components.serializers.HTMLSerializer">
       <doctype-default>loose</doctype-default>
       <encoding>UTF-8</encoding>
+      <setContentLength>true</setContentLength>
     </map:serializer>
     
     <map:serializer name="html-no-dtd" logger="sitemap.serializer.html-no-dtd" mime-type="text/html;
charset=utf-8" pool-grow="4" pool-max="32" pool-min="4" src="org.apache.cocoon.serialization.HTMLSerializer">
@@ -47,10 +48,12 @@
     <map:serializer name="xhtml" src="org.apache.cocoon.components.serializers.XHTMLSerializer"
mime-type="text/html; charset=utf-8" logger="sitemap.serializer.xhtml" pool-grow="2" pool-max="64"
pool-min="2"> 
       <doctype-default>strict</doctype-default>
       <encoding>UTF-8</encoding>
+      <setContentLength>true</setContentLength>
     </map:serializer>
     
     <map:serializer name="xml" logger="sitemap.serializer.xml" mime-type="text/xml; charset=utf-8"
src="org.apache.cocoon.components.serializers.XMLSerializer">
-       <encoding>UTF-8</encoding>
+      <encoding>UTF-8</encoding>
+      <setContentLength>true</setContentLength>
     </map:serializer>
     
     <map:serializer name="links" logger="sitemap.serializer.links" src="org.apache.cocoon.serialization.LinkSerializer"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org


Mime
View raw message