As someone not experienced with gzip at all, I would like to know why this happens, and if it could be fixed to support this mode (which Python handles just fine). Otherwise, maybe there is a way to decompress this data regardless? Thanks.
I have also tested flate2, and that's able to decompress the data too.
When trying to decompress the following data using this Rust code:
I'm hitting the following error:
Python's
gzip
can decompress it just fine, though:As someone not experienced with
gzip
at all, I would like to know why this happens, and if it could be fixed to support this mode (which Python handles just fine). Otherwise, maybe there is a way to decompress this data regardless? Thanks.I have also tested
flate2
, and that's able to decompress the data too.