Hi,
Am 13.01.2010 13:13, schrieb Jasha Joachimsthal:
> Yes, use the set-header action
> In map:components
> <map:actions>
> <map:action name="set-header" logger="sitemap.action.set-header"
> src="org.apache.cocoon.acting.HttpHeaderAction"/>
> </map:actions>
>
> In the map:pipeline
> <map:match pattern="*.zip">
> <map:act type="set-header">
> <map:parameter name="Content-Disposition"
> value="attachment;
> filename={1}.zip"/>
> </map:act>
>
>
and check correct quotes and encoding (if needed). see
http://tools.ietf.org/html/rfc2183
Especially IE has some disadvantages with incorrect filenames.
regards
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]