Details
Description
I have a scenario where the call to writer.writeTo in JAXRSOutInterceptor.serializeMessage throws an exception.
Before throwing the exception, the writer writes to the outputStream.
When write.writeTo throws the exception, handleWriteException calls message.put(Message.RESPONSE_CODE, 500).
However, my HTTP client is seeing the response come back with HTTP response code 200.