• Post Reply Bookmark Topic Watch Topic
  • New Topic

Restlet problem  RSS feed

 
Mnau Lubi
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I am trying to program a DELETE method in my Rest server. However I checked in the documentation that the default behaviour of DELETE is to set the response status to Status.CLIENT_ERROR_METHOD_NOT_ALLOWED. Is it any way to change this default behaviour?

Thanks
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Could you please provide a small sample program that shows the problem you have?
Also, take a look at this page: http://wiki.restlet.org/docs_2.0/13-restlet/27-restlet/328-restlet/285-restlet.html
There it looks like DELETE is handled like every other HTTP verb.
Best wishes!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!