users@jersey.java.net

[Jersey] Re: HTTP 304 is silently dropping the entity

From: Graham Leggett <minfrin_at_sharp.fm>
Date: Sat, 26 Nov 2011 07:42:39 +0000

On 25 Nov 2011, at 22:10, Gili <cowwoc_at_bbs.darktech.org> wrote:

> It's not clear what should happen if a user tries using a HTTP 304 in
> response to a PUT.

The 304 is what gets sent if the If-None-Match header is present and matches the ETag, and never has a body.

Trying to add a body violates RFC2616, jersey is behaving correctly.

Regards,
Graham
--
>