You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Nissim Shiman (Jira)" <ji...@apache.org> on 2024/07/03 17:10:00 UTC

[jira] [Created] (NIFI-13491) InvokeHTTP new property - Response Header Request Attributes Prefix

Nissim Shiman created NIFI-13491:
------------------------------------

             Summary: InvokeHTTP new property - Response Header Request Attributes Prefix
                 Key: NIFI-13491
                 URL: https://issues.apache.org/jira/browse/NIFI-13491
             Project: Apache NiFi
          Issue Type: Improvement
    Affects Versions: 2.0.0-M3, 1.25.0
            Reporter: Nissim Shiman


InvokeHTTP has a property, _Response Header Request Attributes Enabled_ which is false by default.

When it it set to true, the header request attributes are sent back and included as flowfile attributes on the _Original_ relationship, but there is nothing that indicates that the attributes refer to the response (as opposed to the flowfile contents that were sent).



There will be new attributes of _Content-Type_ and _Content-Length_ with values that may be confusing to downstream users as they refer to the response, as opposed to the actual flowfile contents.

This property will allow a prefix to be set, so that flow users will better understand that these refer to the http response.  

This option will only appear if _Response Header Request Attributes Enabled_ is true.
By default there will be no default value to allow backward compatibility.



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