Hello.
After upgrading from Camel 3.7.x to the recent version, gzipped
response (Content-Encoding: gzip) from a route comes empty. I have
found an issue CAMEL-13092 (fixed in Camel 3.10) which caused that in
camel-http-common/src/main/java/org/apache/camel/http/common/DefaultHttpBinding.java
(line 602 doWriteGZIPResponse method): Object body =
exchange.getIn().getBody();
I debugged and found. that stream was not empty, if that line was
replaced by Object body = message.getBody(InputStream.class);, like it
was done for plain non-gzipped response in doWriteDirectResponse
method.
I have tested this change with ServletStreamingGzipChunkedTest successfully.
Is this an issue and could be fixed in the next Camel release?