[Jersey] Re: HEAD operation with response entity

From: Ryan Stewart <>
Date: Sun, 18 Sep 2011 11:01:01 -0500

I can't say for sure about the various implementations, but this is
forbidden by the spec: "The HEAD method is identical to GET except that the
server MUST NOT return a message-body in the response."

Section 9.4 of

On Fri, Sep 16, 2011 at 5:29 AM, Benjamin Röhl <>wrote:

> Hey everyone,
> is it possible to respond an entity by calling a head request operation?
> I tested it with jetty and tomcat but with no success.
> thanks in advance.