[
https://issues.apache.org/jira/browse/NIFI-5580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard resolved NIFI-5580.
----------------------------------
Resolution: Feedback Received
Apache NiFi 1.x is no longer maintained and no new release is planned on the
1.x release line. Marking as resolved as part of a cleanup operation. Please
open a new one with an updated description if this is still relevant for NiFi
2.x.
> PostHTTP always performs HEAD request to check acceptance of Flow Files even
> when 'Send as FlowFile' is false
> -------------------------------------------------------------------------------------------------------------
>
> Key: NIFI-5580
> URL: https://issues.apache.org/jira/browse/NIFI-5580
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.8.0
> Reporter: Aaron Leon
> Priority: Major
>
> The PostHTTP processor performs a HEAD Request to the specified REST endpoint
> to check if the endpoint accepts FlowFiles. This check should NOT occur if
> "Send As FlowFile" is set to false; this will throw a 404 exception if the
> endpoint does not accept HEAD requests.
> Encountered while using PostHTTP processor to send a POST request to /_bulk
> endpoint of Elasticsearch 5.3
> 2018-09-07 16:31:34,133 WARN [Timer-Driven Process Thread-42]
> o.a.nifi.processors.standard.PostHTTP
> PostHTTP[id=38eb43d1-8be7-18e0-0000-0000348fb09c] Unable to communicate with
> destination; when attempting to perform an HTTP HEAD, got unexpected response
> code of 404: Not Found
--
This message was sent by Atlassian Jira
(v8.20.10#820010)