Closed
Description
This issue emanates from an issue posted here.
We are trying to get a gzipped GCS file in chunks. The problem comes when we try to read the response content. The problem seems to be related with the fact that response.getContent() automatically creates a GZIPInputStream
on top of the raw stream (if the content encoding is gzip
). When we attempt to read
the GZIPInputStream
given by getContent()
we get an error as that stream only holds one chunk of the original file.
Would it be possible to somehow disable the wrapping of the response content into a GzipInputStream
when calling getContent()
?