[
https://issues.apache.org/jira/browse/NIFI-1393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15108674#comment-15108674
]
ASF GitHub Bot commented on NIFI-1393:
--------------------------------------
Github user apiri commented on a diff in the pull request:
https://github.com/apache/nifi/pull/175#discussion_r50264846
--- Diff:
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PostHTTP.java
---
@@ -534,12 +536,7 @@ public void process(final HttpResponse response, final
HttpContext httpContext)
destinationAccepts = config.getDestinationAccepts();
if (destinationAccepts == null) {
try {
- if (sendAsFlowFile) {
- destinationAccepts =
getDestinationAcceptance(client, url, getLogger(), transactionId);
- } else {
- destinationAccepts = new
DestinationAccepts(false, false, false, false, null);
--- End diff --
Good call, will adjust to add some clarity for the process and adjust.
> PostHTTP does not apply compression level unless configured to send FlowFIles
> -----------------------------------------------------------------------------
>
> Key: NIFI-1393
> URL: https://issues.apache.org/jira/browse/NIFI-1393
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Affects Versions: 0.4.1
> Reporter: Aldrin Piri
> Assignee: Aldrin Piri
> Priority: Minor
> Fix For: 0.5.0
>
>
> PostHTTP only provides transfer compression (Content-Encoding: gzip) when
> additionally configured to send data as FlowFIles. We should provide
> detection of support by the receiving server and make this possible for
> generic payloads as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)