Hello, I posted a similar thing here:
http://restlet.tigris.org/issues/show_bug.cgi?id=1270
I said:
"I'd like to ask a new capability in the engine and api in order
to natively support custom http verbs or methods to extend the original get,
post, put, delete,
etc.. . I think it would make more confortable the framework for real
applications that need this feature.
Currently there is the Tunnel Service to set the verbs as a parameter in the
url
and the Tunnel Service makes it appear as an actual http request of the
verb specified so I think it could simply not to limit the kind of verbs,
now in
a ServerResource we have the nice annotations like @Get, @Post... verbs so
why
couldn't we just have something like: @CustomVerb("myCustomVerb") ?
Currently it's very limiting the 4 rest verbs so there's a need to extend it
and
if the engine and api support it natively would be great to improve the
possibilities and at the same time keeping the structure of the code
following
the same logic as any "classic" rest verb.
I hope you add this feature sooner than later if possible.
Thanks for yout attention ;) "
--
View this message in context:
http://restlet-discuss.1400322.n2.nabble.com/Adding-custom-HTTP-methods-tp6317815p6389660.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2743360