The HEAD request, create a GET subrequest which is not compatible with
the ZIP plugin since the ZIP plugin is directly streaming the content to
php://output, so we were sending the content in a HEAD request and
creating the ZIP twice and this was creating various warning in logs
too.
Signed-off-by: Carl Schwan <carlschwan@kde.org>
Directories should also have the correct mtime set and not the current
time. For this the `Streamer` class needs to support passing a time
attribute for creating folders, the underlying library already supports
this.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This is required to not break behavior on zip download (apps should be able to react to zip download especially for shares).
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>