ZipStream-PHP icon indicating copy to clipboard operation
ZipStream-PHP copied to clipboard

Suggestion zeroHeader flag in File Options

Open Firtzberg opened this issue 6 years ago • 2 comments

I'm wondering if it makes sense to have the zeroHeader flag in the FileOptions rather than the Archive options. You could keep the option in the Archive as well, to default it.

Firtzberg avatar Oct 21 '19 10:10 Firtzberg

Hello,

Why are you thinking about this change?

NicolasCARPi avatar Oct 21 '19 12:10 NicolasCARPi

I read the zip format specification. It appears the zero header flag is part of a file header, so it is specific to each file.

Firtzberg avatar Oct 22 '19 05:10 Firtzberg

Tracked via https://github.com/maennchen/ZipStream-PHP/pull/224

maennchen avatar Nov 25 '22 04:11 maennchen