ZipStream-PHP
ZipStream-PHP copied to clipboard
Suggestion zeroHeader flag in File Options
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.
Hello,
Why are you thinking about this change?
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.
Tracked via https://github.com/maennchen/ZipStream-PHP/pull/224