Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit d7c4378

Browse files
committed
Merge remote-tracking branch 'origin/develop' into develop
2 parents 1fd60a5 + cb16dd5 commit d7c4378

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/plugins/access.fs/FsAccessDriver.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,7 @@ public function downloadAction(ServerRequestInterface &$request, ResponseInterfa
662662
if ($this->getContextualOption($ctx, "ZIP_ON_THE_FLY")) {
663663
// Make a zip on the fly and send stream as download
664664
$response = HTMLWriter::responseWithAttachmentsHeaders($response, $localName, null, false, false);
665+
$response = $response->withoutHeader("Content-Length");
665666
$asyncReader = new \Pydio\Core\Http\Response\AsyncResponseStream(function () use ($selection, $dir) {
666667
session_write_close();
667668
restore_error_handler();

0 commit comments

Comments
 (0)