cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-6977) content-type for JAXRS response not set correctly
Date Mon, 25 Jul 2016 10:10:20 GMT

     [ https://issues.apache.org/jira/browse/CXF-6977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sergey Beryozkin resolved CXF-6977.
-----------------------------------
    Resolution: Cannot Reproduce

> 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)

Mime
View raw message