[ 
https://issues.apache.org/jira/browse/NIFI-14259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18041894#comment-18041894
 ] 

Daniel Stieglitz edited comment on NIFI-14259 at 12/1/25 4:45 PM:
------------------------------------------------------------------

[~exceptionfactory] You have mentioned in the past InvokeHttp already has a lot 
of properties. Would you want to add another property to accommodate the 
request above?

Another possible solution as a default delimiter would be to use characters 
which are illegal in HTTP headers. A quick Google search let me know these are 
the following illegal characters:
 * Null character (0x00)
 * Line feed (0x0A)
 * Carriage return (0x0D)
 * Most other control characters (0x01-0x1F), with specific exceptions like the 
Horizontal Tab under certain conditions.
 * Delete character (0x7f)
 * Non-US-ASCII characters (should be encoded if necessary)

Would a line feed be a better alternative?


was (Author: JIRAUSER294662):
[~exceptionfactory] You have mentioned in the past InvokeHttp already has a lot 
of properties. Would you want to add another property the request above?

Another possible solution as a default delimiter would be to use characters 
which are illegal in HTTP headers. A quick Google search let me know these are 
the following illegal characters:
 * Null character (0x00)
 * Line feed (0x0A)
 * Carriage return (0x0D)
 * Most other control characters (0x01-0x1F), with specific exceptions like the 
Horizontal Tab under certain conditions.
 * Delete character (0x7f)
 * Non-US-ASCII characters (should be encoded if necessary)

Would a line feed be a better alternative?

> InvokHttp: Multiple header delimiter should be configurable
> -----------------------------------------------------------
>
>                 Key: NIFI-14259
>                 URL: https://issues.apache.org/jira/browse/NIFI-14259
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>    Affects Versions: 2.2.0
>            Reporter: Robert
>            Assignee: Shubhra Jain Ksolves Nifi Expertise
>            Priority: Major
>              Labels: InvokeHTTP, improvement
>
> Hello!
> I would like to propose to make the 'multiple header delimiter' configurable 
> in the 'InvokeHttp' processor via a property.
> Currently it is fixed to ', ' which can become a problem in case the header 
> value contains exactly this value. This is especially true for 'set-cookie' 
> headers which often contain commas.
> Kind regards,
>   Robert



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to