You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Arian Treffer <de...@gmail.com> on 2019/05/06 09:55:49 UTC

Space inserted in Content-Type header

Hi everyone,

using the http4 component, when I put
> .setHeader("Content-Type", constant("text/xml;charset=UTF-8"))
> .to("http:// ...")
in my route definition, I receive "Content-Type=text/xml;
charset=UTF-8" on the server, with a space added after the semicolon.
This seems to happen only with a camel-based client. Is there any way
to get around this behavior?

Best
Arian