in reply to zlib compression question

DELETED (proposed solution did not work)

It involved the fact that you compress 3 times, with 3 headers instead of one single header. But zlib not only compresses data, it encapsulates the raw DEFLATE data by adding a header and trailer. This means that when you unchunk it, you have 1 data blob/file, with 3 headers/trailers inside it. So I wondered if that was being decompressed properly.

See Chunked_transfer_encoding