From: Sean D. <sea...@gm...> - 2016-06-10 14:50:11
|
I posted this on users but I'm thinking it's a RestEasy bug at this point. The code seems to buffer the entity and then throw a processing exception if the status is bad. In the case of 304, no body is provided (and this seems to be correct according to the standard). I have found no way server side to return anything but null as the entity. So attempting to buffer it on a 304 just seems plain incorrect (and results in an NPE). Am I missing something? Setting the custom header on the response does work - but I'm not sure that'll make it back to the client when it passes through servers that usually strip those out. |