[
https://issues.apache.org/jira/browse/CAMEL-9575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15136633#comment-15136633
]
ASF GitHub Bot commented on CAMEL-9575:
---------------------------------------
GitHub user ssogabe opened a pull request:
https://github.com/apache/camel/pull/828
[CAMEL-9575] overrides Content-Type header even if it is set, or not
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ssogabe/camel CAMEL-9575
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/828.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #828
----
commit ee70ee95e6b960b384914f6bb8ba8ca867ccb99e
Author: Seiji Sogabe <[email protected]>
Date: 2016-02-08T06:27:47Z
overrides Content-Type header even if it is set, or not
----
> Computing Content-Type
> ----------------------
>
> Key: CAMEL-9575
> URL: https://issues.apache.org/jira/browse/CAMEL-9575
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.16.2
> Reporter: Seiji Sogabe
>
> See
> http://camel.465427.n5.nabble.com/Invalid-quot-Content-Type-quot-Header-is-configured-td5777250.html
> Content-Type header of response should be "application/xml", not
> "application/json".
> It seems that if Content-Type header of *request* has been configured, it is
> used as a Content-Type header of *response*.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)