Piotr, we also need the response headers. Accept-Encoding affects the *transfer* of the data. In other words, by the client saying that it accepts `gzip` encoding, that will be applied by the server to save bandwidth and on streaming the download it should be decoded automatically by our underlying HTTP library. The way it determines that is by looking at the Content-Encoding response header. If that's not present, there's nothing for the library to unzip. If the Content-Type, however, is gzip, that's a *completely* different story.
Piotr, we also need the response headers. Accept-Encoding affects the *transfer* of the data. In other words, by the client saying that it accepts `gzip` encoding, that will be applied by the server to save bandwidth and on streaming the download it should be decoded automatically by our underlying HTTP library. The way it determines that is by looking at the Content-Encoding response header. If that's not present, there's nothing for the library to unzip. If the Content-Type, however, is gzip, that's a *completely* different story.
Can you retrieve those response headers?