Felix Röthenbacher wrote: > Hi > > Is it possible to send a status code only from the sitemap? > For example to send 204 back after a put request? > > There is a method in org.apache.cocoon.environment.Redirector that > does the job, but I don't know if there is a way to do it from the > sitemap: > > void sendStatus(int sc) > Send a content-less response with the given status code.
I believe serializers can do that. Look in the provided sitemaps within the <map:handle-errors> code for examples. Regards, Upayavira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
