Many thanks.

> -----Original Message-----
> From: Donald Ball [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 14 June 2001 8:37 pm
> To: '[EMAIL PROTECTED]'
> Subject: RE: cvs commit: xml-cocoon2/src/org/apache/cocoon/acting
> HttpHead erAction.java
> 
> 
> On Thu, 14 Jun 2001, Morrison, John wrote:
> 
> > Donald - I *think* this is something I've been waiting for... 
> could you be
> > kind enough to send an example of it's use too?
> 
> sure:
> 
>   <map:match pattern="header">
>     <map:generate src="content/header.xml" type="serverpages"/>
>     <map:transform src="style/header2svg.xsl"/>
>     <map:act type="http-header-action">
>       <map:parameter name="Pragma" value="no-cache"/>
>       <map:parameter name="Cache-Control" value="no-cache"/>
>     </map:act>
>     <map:serialize type="svg2jpeg"/>
>   </map:match>
> 
> i'm thinking i'll add some variable substitution for the value attribute,
> so you can set headers which depend on things like the current time:
> 
> <map:parameter name="Expires" value="$now"/>
> 
> i dunno. suggestions are welcome.
> 
> - donald
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to