Hi Guys,

Using M7 (downloaded the snapshot 2 days ago for a bug fix).

getAllowedMethods is working for me in my test cases (using the internal 
connector and the restlet client), but when i'm testing in tomcat, the method 
call is always coming back empty. :(

Testing using an AJAX call to the resource. The clientInfo is populated 
correctly, i.e. user agent, accepts headers, etc.

Anybody else experience this? or got any pointers as to what i'm doing wrong?

Just out of interest sake, i had to implement a custom getVariants method, 
which takes a org.restlet.data.Method arg. The reason for this, was that i have 
the requirement to build a custom OPTIONS response and needed this meta data 
(not a full list as provided by the current getVariants method, but only for 
the respective method). Was surprised this wasn't available by default on the 
resource.

Regards,
--KD

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2454506

Reply via email to