You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (Jira)" <ji...@apache.org> on 2020/12/16 11:52:00 UTC

[jira] [Commented] (NIFI-8099) HTTP Headers is case-insentitive and overwrite attributes values

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

Pierre Villard commented on NIFI-8099:
--------------------------------------

Not sure what would the correct approach be in this case. Suggestion:
 * if the processor has an incoming relationship, check if the flow file has two attributes with the same name (when case insensitive), generate a bulletin and route the flow file to failure
 * if the processor has no incoming relationship, make the processor invalid if configured with dynamic properties with multiple values for the same attribute (when case insensitive)

> HTTP Headers is case-insentitive and overwrite attributes values
> ----------------------------------------------------------------
>
>                 Key: NIFI-8099
>                 URL: https://issues.apache.org/jira/browse/NIFI-8099
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.12.1
>            Reporter: Jens M Kofoed
>            Priority: Major
>
> I've created 2 flows at 2 different NIFI instances for testing HTTP transfer between NIFI.
> RFC-2616 says that headers is case-insentitive, but if I create 3 attributes with values as this:
> MyAttribute : "MyData", myattribute : "mydata" & MYATTRIBUTE : "MYDATA" all 3 fields is coming through as they are, but all 3 value are set to "mydata" 
> I'm using InvokeHTTP to trasfer data to the other instance. IncludeDataHeaders = True and Attributes to send is set to .* and I'm using ListenHTTP to recive data
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)