[
https://issues.apache.org/jira/browse/NIFI-12304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann updated NIFI-12304:
------------------------------------
Fix Version/s: 2.0.0-M5
Resolution: Fixed
Status: Resolved (was: Patch Available)
> Document ListenHTTP content unpack behaviour
> --------------------------------------------
>
> Key: NIFI-12304
> URL: https://issues.apache.org/jira/browse/NIFI-12304
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Documentation & Website
> Reporter: Peter Kimberley
> Assignee: Michael W Moser
> Priority: Minor
> Fix For: 2.0.0-M5
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> {{ListenHTTP}} depending on the MIME type, will unpack received content
> automatically. For example, if using {{InvokeHTTP}} with a flowfile packed in
> {{FlowFile Stream v3}} format, with the {{mime.type}} attribute set to
> {{application/flowfile-v3}}.
> When {{ListenHTTP}} receives the payload, it will interpret the MIME type and
> if it matches a well-known value (i.e. {{application/flowfile-v3}}), the
> content will automatically be unpacked by this processor.
> While that's a handy feature, it is potentially confusing as this inline
> unpacking behaviour isn't documented, and a reasonable expectation is that
> one needs to {{UnpackContent}} separately in a subsequent processor.
> Recommend adding some use case documentation to {{ListenHTTP}}, to avoid
> confusion.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)