You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Gregory (Jira)" <ji...@apache.org> on 2020/08/25 13:57:00 UTC

[jira] [Created] (NIFI-7761) Allow HandleHttpRequest to add specified form data to FlowFile attributes

Matt Gregory created NIFI-7761:
----------------------------------

             Summary: 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


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)