You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Marcus Abels (Commented) (JIRA)" <ji...@apache.org> on 2012/02/06 11:11:59 UTC
[jira] [Commented] (CAMEL-4984) camel-http does not send header
values that are empty strings
[ https://issues.apache.org/jira/browse/CAMEL-4984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201192#comment-13201192 ]
Marcus Abels commented on CAMEL-4984:
-------------------------------------
There is a workarround: you can pass a list with an empty string as header value and than camel-http will send this header
> 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
>
> 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