I have a restlet web service. When the client requests some data from the web service, sometimes that data is missing unexpectedly so I return a 404 (maybe it should be 500) error - and I would like to add some extra detail along with the reponse. This would be good for the client application to use to diagnose problems/faults etc. Looking up the official documentation at Restlet, it says the following:
"a description can be added to the status report to help the client understand the situation and correct its request if needed. For this purpose, you can create new instances of the Status class instead of using the constants or, more simply, you can use response.setStatus(Status.CLIENT_ERROR_NOT_FOUND, "Your comment goes here")." I was expecting to see "Your comment goes here" somewhere in the response entity but there was nothing (I'm using Fiddler with IE to examine the response entity). Can anyone point out what I might be doing wrong here? ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2730917

