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

[jira] [Assigned] (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:all-tabpanel ]

Andrea Cosentino reassigned CAMEL-12787:
----------------------------------------

    Assignee: Andrea Cosentino

> 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, 2.22.1
>            Reporter: Xilai Dai
>            Assignee: Andrea Cosentino
>            Priority: Major
>             Fix For: 2.21.3, 2.22.2, 2.23.0
>
>
> 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)