users@jersey.java.net

[Jersey] Re: Empty response body on Error

From: Oleksiy Stashok <oleksiy.stashok_at_oracle.com>
Date: Sat, 17 May 2014 12:31:29 -0700

Hi Robert,

which Jersey/Grizzly versions are you using?
Can you pls. share the server initialization code?


Thanks.

WBR,
Alexey.

On 17.05.14 10:33, Robert DiFalco wrote:
> I'm noticing with the Grizzly HTTP container (I can't speak for other
> containers) that when my REST call has an error, lets say a 404, on a
> GET that the response seems blank.
>
> If I curl with "-i" I can see the 404 but if I put it into a web
> browser or just omit the "-i" on curl I see nothing. So it has a
> response body it is just empty.
>
> Is this normal or is there something amiss in my configuration?
>
> Thanks!
>
>