From: Gili <cowwoc_at_bbs.darktech.org>
Date: Fri, 25 Nov 2011 11:29:41 -0800 (PST)
Gili wrote
>
> Hi,
>
> I've defined a @PUT method which returns:
>
> Response.notModified().entity("test").build();
>
> When I examined the response, I noticed that the entity is missing. When I
> replace notModified() by ok() or serverError() the entity shows up. Why is
> notModified() dropping the entity? I'd like to provide clients an
> explanation of why the resource was not modified.
>
> Thanks,
> Gili
>