Skip to content

Fix Open Archive not working with response without Content-Length

Proposed fix for #264 (closed).

When Content-Length header is missing, the ZipReader fails to open (because size cannot be negative). The change proposed here adds the logic for this specific case: we read the full body and rely on the actual size of the buffer.

Edited by Georges-Etienne Legendre

Merge request reports