You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Xilai Dai (JIRA)" <ji...@apache.org> on 2018/09/09 04:02:00 UTC

[jira] [Commented] (CAMEL-12787) Accept header is not respected anymore in CXFRS consumer when POST

    [ https://issues.apache.org/jira/browse/CAMEL-12787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16608287#comment-16608287 ] 

Xilai Dai commented on CAMEL-12787:
-----------------------------------

Looks like we have this issue after this commit https://github.com/apache/camel/commit/4280d660ed7bdce2c79d7d5d3da8b63567391f5d, which try to fix the https://issues.apache.org/jira/browse/CAMEL-12428

> Accept header is not respected anymore in CXFRS consumer when POST
> ------------------------------------------------------------------
>
>                 Key: CAMEL-12787
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12787
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxfrs
>    Affects Versions: 2.21.1, 2.21.2, 2.22.0
>            Reporter: Xilai Dai
>            Priority: Major
>
> Given the camel route as a cxfrs server (test case is here: https://github.com/xldai/test/tree/master/cxfrs), Running the Route and send POST request from curl with "Accept: application/json", but the cxfrs server will always return  application/xml as Response.
> Note this issue only happening on POST method, for GET, the Accept header is respected.
> No this kind of issue on Camel 2.20.x, Camel 2.21.0.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)