Finally I get it working. I have to associate a 2** code with a bogus empty 
representaton (null representation doesn't work). Is this a bug in restlet?

<code>
// inside my resource class
getResponse().setStatus(Status.SUCCESS_NO_CONTENT, "No Data");
return new StringRepresentation("", MediaType.ALL);
</code>

BTW, I can use 204 or my customized 299. 

Thanks again.

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

Reply via email to