Hi,

I am building a RESTful application with cocoon 2.2. I need to be able to identify the request method. It appears that in the sitemap, {request:method}, or in flow, cocoon.request.getMethod(), the HTTP method value always is GET. I need to be able to distinguish between GET, PUT, OPTIONS, etc in order to handle the request accordingly. If the method value is always GET, then I won't be able to do so. I've tested this all with a tool called RESTClient from WizTools at http://rest-client.googlecode.com/.

Could one of you (not) confirm my observation? What to do if indeed the request method is always set to GET?

Thanks,
--
Andre H. Juffer              | Phone: +358-8-553 1161
Biocenter Oulu and           | Fax: +358-8-553-1141
Department of Biochemistry   | Email: [email protected]
University of Oulu, Finland  | WWW: www.biochem.oulu.fi/Biocomputing/
StruBioCat                   | WWW: www.strubiocat.oulu.fi
NordProt                     | WWW: www.nordprot.org
Triacle Biocomputing         | WWW: www.triacle-bc.com

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

Reply via email to