[ 
https://issues.apache.org/jira/browse/NIFI-10161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17599509#comment-17599509
 ] 

Dominik edited comment on NIFI-10161 at 9/2/22 2:10 PM:
--------------------------------------------------------

Actually I have a problem with this "improvement" because I wanted to keep it 
compressed until the end of my flow, I have no way of removing the header 
"Content-Encoding", "gzip" in logstash but a nice way would be to be able to 
disable the decompression by ListenHTTP if a custom header is specified for 
example? or adding a property in the Nifi processor for disabling the 
auto-decompression?


was (Author: JIRAUSER281822):
Actually I have a problem with this "improvement" because I wanted to keep it 
compressed until the end of my flow, I have no way of removing the header 
"Content-Encoding", "gzip" in logstash but a nice way would be to be able to 
disable the decompression by ListenHTTP if a custom header is specified for 
example?

> Add Gzip Request Content-Encoding in InvokeHTTP and ListenHTTP
> --------------------------------------------------------------
>
>                 Key: NIFI-10161
>                 URL: https://issues.apache.org/jira/browse/NIFI-10161
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: David Handermann
>            Assignee: David Handermann
>            Priority: Minor
>             Fix For: 1.17.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> [RFC 7231 Section 
> 3.1.2.2|https://datatracker.ietf.org/doc/html/rfc7231#section-3.1.2.2] 
> describes the {{Content-Encoding}} header as a standard method of indicating 
> compression applied to content information. HTTP servers use this header to 
> indicate response compression, and some servers can support receiving HTTP 
> requests compressed using Gzip.
> The {{ListenHTTP}} Processor supports receiving Gzip-compressed requests 
> using a non-standard header named {{{}flowfile-gzipped{}}}, which the 
> deprecated {{PostHTTP}} Processor applies when enabling the {{Compression 
> Level}} property.
> The {{ListenHTTP}} Processor should be updated to support handling Gzip 
> request compression using the standard {{Content-Encoding}} header, and the 
> {{InvokeHTTP}} should be updated to support enabling Gzip.



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

Reply via email to