You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Zoran Regvart (JIRA)" <ji...@apache.org> on 2017/03/16 12:05:41 UTC
[jira] [Resolved] (CAMEL-11025) RestProducer should set Accept and
Content-Type headers if given in endpoint configuration
[ https://issues.apache.org/jira/browse/CAMEL-11025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zoran Regvart resolved CAMEL-11025.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.19.0
> RestProducer should set Accept and Content-Type headers if given in endpoint configuration
> ------------------------------------------------------------------------------------------
>
> Key: CAMEL-11025
> URL: https://issues.apache.org/jira/browse/CAMEL-11025
> Project: Camel
> Issue Type: Improvement
> Affects Versions: 2.19.0
> Reporter: Zoran Regvart
> Assignee: Zoran Regvart
> Priority: Minor
> Fix For: 2.19.0
>
>
> The RestProducer ignores endpoint properties {{consumes}} that corresponds to HTTP {{Accept}} header and {{produces}} that corresponds to HTTP {{Content-Type}} header.
> These should be set according to the endpoint properties making sure that any header values on the incoming message being processed are not overwritten.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)