Michael Traut created CXF-6977:
----------------------------------
Summary: content-type for JAXRS response not set correctly
Key: CXF-6977
URL: https://issues.apache.org/jira/browse/CXF-6977
Project: CXF
Issue Type: Bug
Components: JAX-RS
Affects Versions: 3.1.6
Reporter: Michael Traut
Tried to get
String contentType = (String) message.get(Message.CONTENT_TYPE);
but is not set correctly. Seems that
org.apache.cxf.jaxrs.JAXRSInvoker.setResponseContentTypeIfNeeded(Message,
Object)
checks for "instanceof Response" where "response" is already wrapped in
MessageContentsList.
Btw. headers are not copied at all?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)