David Handermann created NIFI-13661:
---------------------------------------

             Summary: Add Multipart Form-Data Handling to web-client-api
                 Key: NIFI-13661
                 URL: https://issues.apache.org/jira/browse/NIFI-13661
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Core Framework
            Reporter: David Handermann
            Assignee: David Handermann


[RFC 7578|https://www.rfc-editor.org/rfc/rfc7578] Describes handling for 
multipart/form-data over HTTP, which is a request format often used to pass a 
combination of files and parameter values. The format consists of the 
Content-Disposition request header with a boundary indicator, and one or more 
request sections, delimited using the boundary indicator.

Libraries such as OkHttp provide wrappers around this format, and the 
nifi-web-client-api library should include support for constructing an HTTP 
request using a similar strategy. In order to support various use cases, the 
implementation should support either byte array inputs or streams, enabling 
requests with large sources without consuming large amounts of memory.



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

Reply via email to