RE: Is it possible to set response headers from within a sitemap?

2008-07-25 Thread Philip Fennell
Stevens [mailto:[EMAIL PROTECTED] Sent: 24 July 2008 15:41 To: users@cocoon.apache.org Subject: Re: Is it possible to set response headers from within a sitemap? 2008/7/24 Philip Fennell [EMAIL PROTECTED]: Is there any way that I can set response headers from the sitemap/Cocoon? ... I'm using

Is it possible to set response headers from within a sitemap?

2008-07-24 Thread Philip Fennell
I am making use of the map:select type=request-method for a RESTful Web Service I'm working on. In the case where a method e.g. DELETE is not supported by the service I could include: map:otherwise map:generate type=request/ map:serialize type=application/xml status-code=405 label=Method

Re: Is it possible to set response headers from within a sitemap?

2008-07-24 Thread Andy Stevens
2008/7/24 Philip Fennell [EMAIL PROTECTED]: Is there any way that I can set response headers from the sitemap/Cocoon? ... I'm using Cocoon 2.2 Isn't that what the HttpHeaderAction does?