users@jersey.java.net

[Jersey] Re: Jersey2: Impossible to POST with empty entity?

From: Marek Potociar <marek.potociar_at_oracle.com>
Date: Tue, 5 Nov 2013 21:49:01 +0100

Legal does not necessarily mean meaningful or correct. Why do you want to do it?

Marek

On 26 Oct 2013, at 22:12, cowwoc <cowwoc_at_bbs.darktech.org> wrote:

> Hi,
>
> I just noticed something funny. It seems to be impossible to send POST requests to a URI:
> With a Content-Type but no body
> Without either a Content-Type or body
> Why is that? I believe both of these use-cases are legal.
>
> Thanks,
> Gili