You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by do...@cocoon.apache.org on 2004/08/12 14:02:44 UTC
[Cocoon Wiki] Updated: ResponseHeaderTransformer
Date: 2004-08-12T05:02:44
Editor: NicoVerwer <nv...@email.com>
Wiki: Cocoon Wiki
Page: ResponseHeaderTransformer
URL: http://wiki.apache.org/cocoon/ResponseHeaderTransformer
no comment
Change Log:
------------------------------------------------------------------------------
@@ -1,8 +1,8 @@
-== ResponseHeaderTransformer ==
- TARGET-AUDIENCE: '''*beginner*''' advanced expert[[BR]]
- COCOON-RELEASES: 2.0.3, 2.0.4[[BR]]
- DOCUMENT-STATUS: '''*draft*''' reviewed released[[BR]]
----
+== ResponseHeaderTransformer ==
This is a simple transformer that allows you to set HTTP response headers from the content of the XML that flows through the pipeline.
@@ -13,7 +13,7 @@
<map:parameter name="Cache-Control" value="no-cache" />
</map:act>
}}}
- * From Flow, which takes the header from a Flowscript:
+ * Flow, which takes the header from a Flowscript:
{{{
cocoon.response.setHeader("Cache-Control", "no-cache")
}}}