From: André Gaul Date: Mon, 18 Aug 2014 23:14:58 +0000 (+0200) Subject: files_extern: remove empty Body and ContentLength in Amazon S3 mount X-Git-Tag: v8.0.0alpha1~554 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0d0c9d0bb35195cc5b40a189523599df56d8368e;p=nextcloud-server.git files_extern: remove empty Body and ContentLength in Amazon S3 mount fixes #10501 Conflicts: apps/files_external/lib/amazons3.php --- diff --git a/apps/files_external/lib/amazons3.php b/apps/files_external/lib/amazons3.php index 2917b1d19f1..8e893b0aac6 100644 --- a/apps/files_external/lib/amazons3.php +++ b/apps/files_external/lib/amazons3.php @@ -181,9 +181,7 @@ class AmazonS3 extends \OC\Files\Storage\Common { $this->connection->putObject(array( 'Bucket' => $this->bucket, 'Key' => $path . '/', - 'Body' => '', - 'ContentType' => 'httpd/unix-directory', - 'ContentLength' => 0 + 'ContentType' => 'httpd/unix-directory' )); $this->testTimeout(); } catch (S3Exception $e) {