This is essentially the same as https://issues.apache.org/jira/browse/CAMEL-9613 . 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:
restConfiguration().component("spark-rest").port(8585); rest("/").post("/charges").to("direct:charges"); from("direct:charges").to("http://localhost:8080/charges?bridgeEndpoint=true&throwExceptionOnFailure=false");
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
- is related to
CAMEL-17454 camel-undertow - Adds duplicate content-type
- links to