> Does anyone know how to process If-Modified-Since requests in > combination with annotated methods? Restlet seems to ignore the > getInfo() methods and heads straight to the method that has the > @Get annotation. I'm using restlet 2.0.10, in case that matters.
I don't know if it's the right or preferred way of handling it, but I'm checking the modified date in the resource constructor, and setting the response status to Status.REDIRECTION_NOT_MODIFIED if appropriate. My case may be unusual, because I have the modification date available at that point. I haven't tried it, but it also might make sense to override onInit() and do the check there. -------------------------- John Wismar ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2939489

