camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Dougal (JIRA)" <>
Subject [jira] [Created] (CAMEL-11028) camel-spark-rest - Adds duplicate content-type
Date Thu, 16 Mar 2017 16:19:41 GMT
Adam Dougal created CAMEL-11028:

             Summary: camel-spark-rest - Adds duplicate content-type
                 Key: CAMEL-11028
             Project: Camel
          Issue Type: Bug
    Affects Versions: 2.18.3
            Reporter: Adam Dougal

This is essentially the same as . When I
send a request containing a 'content-type' header it will get sent with duplicate values.
E.g. Content-Type: \[application/json, application/json\].

My RouteBuilder is very simple at the moment:



Having looked at the code I can see it being added in two places:

Is this intended behaviour? If so, how would I disable it? Thanks

This message was sent by Atlassian JIRA

View raw message