camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoran Regvart (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-11025) RestProducer should set Accept and Content-Type headers if given in endpoint configuration
Date Thu, 16 Mar 2017 12:07:41 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-11025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Zoran Regvart updated CAMEL-11025:
----------------------------------
    Component/s: camel-core

> 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
>          Components: camel-core
>    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)

Mime
View raw message