[
https://issues.apache.org/jira/browse/CAMEL-4984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217113#comment-13217113
]
Marcus Abels commented on CAMEL-4984:
-------------------------------------
Actually, the backend service which we are calling via HTTP requires that all
required headers are set, even if there are no value for it.
Also to me such a policy seems to be awkward.
> camel-http does not send header values that are empty strings
> -------------------------------------------------------------
>
> Key: CAMEL-4984
> URL: https://issues.apache.org/jira/browse/CAMEL-4984
> Project: Camel
> Issue Type: Bug
> Components: camel-http
> Affects Versions: 2.9.0
> Reporter: Marcus Abels
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.9.1, 2.10.0
>
>
> HttpProducer does not send HTTP header if header value from camel was an
> empty string.
> This is because ObjectHelper.createIterator(headerValue, null) will produce
> an empty iteration if headerValue is an empty string!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira