A bit of nit-picking maybe.

With the new ServerResource the updateAllowedMethods is not called if a 
isExists() returns false.

The use case is for OPTIONS on a /whatever/non-existing-yet

It used to return a 404 Not Found in combo with listing PUT as a valid 
Allow: method to invite the client to go ahead and create the resource.

I'm currently calling updateAllowedMethods in my subclass from the 
doInit() to make sure I get the same behaviour as before (admitting I 
was still using the deprecated Resource) but this feels more as a hack, no?

Haven't created a ticket or patch yet since you might want to chime in 
on how best to handle this.

regards,
-marc=

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

Reply via email to