users@jersey.java.net

[Jersey] Re: HEAD operation with response entity

From: Ryan Stewart <rds6235_at_gmail.com>
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 http://www.ietf.org/rfc/rfc2616.txt

On Fri, Sep 16, 2011 at 5:29 AM, Benjamin Röhl <benjamin.roehl_at_st.ovgu.de>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.
>
>