From 0d0c9d0bb35195cc5b40a189523599df56d8368e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Gaul?= <gaul@web-yard.de>
Date: Tue, 19 Aug 2014 01:14:58 +0200
Subject: [PATCH] files_extern: remove empty Body and ContentLength in Amazon
 S3 mount

fixes #10501

Conflicts:
	apps/files_external/lib/amazons3.php
---
 apps/files_external/lib/amazons3.php | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/apps/files_external/lib/amazons3.php b/apps/files_external/lib/amazons3.php
index 2917b1d19f..8e893b0aac 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) {
-- 
GitLab