You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/01/05 08:43:00 UTC
[jira] [Commented] (NIFI-7761) Allow HandleHttpRequest to add
specified form data to FlowFile attributes
[ https://issues.apache.org/jira/browse/NIFI-7761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17258755#comment-17258755 ]
ASF subversion and git services commented on NIFI-7761:
-------------------------------------------------------
Commit ceb9dff3b9a8511c61e39e0728fcdd63f545ce91 in nifi's branch refs/heads/main from Otto Fowler
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=ceb9dff ]
NIFI-7761 Allow HandleHttpRequest to add specified form data to FlowFile attributes
Signed-off-by: Pierre Villard <pi...@gmail.com>
This closes #4513.
> Allow HandleHttpRequest to add specified form data to FlowFile attributes
> -------------------------------------------------------------------------
>
> Key: NIFI-7761
> URL: https://issues.apache.org/jira/browse/NIFI-7761
> Project: Apache NiFi
> Issue Type: Improvement
> Affects Versions: 1.12.0
> Reporter: Matt Gregory
> Assignee: Otto Fowler
> Priority: Major
> Time Spent: 3.5h
> Remaining Estimate: 0h
>
> NIFI-7420 changed the behavior of HandleHttpRequest to no longer add http.param.* attributes for all parts of a multipart request. This was nice for scenarios when a single file + form data was being sent in a multipart as the form data was readily accessible as FlowFile attributes.
>
> A nice approach suggested by ottobackwards [in Slack|https://apachenifi.slack.com/archives/C0L9VCD47/p1598295952058200] is to allow a list of form fields to be specified to the HandleHttpRequest processor as a property. I would imagine this working similarly to how LogAttribute specifies Attributes to Log, with a simple comma-separated list.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)