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/07 11:37:00 UTC

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

Xilai Dai created CAMEL-12787:
---------------------------------

             Summary: 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.22.0, 2.21.2
            Reporter: Xilai Dai


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.



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