cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Röthenbacher <felix.roethenbac...@wyona.com>
Subject Status-code from sitemap
Date Thu, 17 Nov 2005 16:26:27 GMT
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.


Any help is appreciated

- Felix

-- 
Felix Röthenbacher                  felix.roethenbacher@wyona.com
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message