summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/amazons3.php
diff options
context:
space:
mode:
authorAndré Gaul <gaul@web-yard.de>2014-08-19 01:14:58 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-10-02 12:00:50 +0200
commit056b97834d1be74d9fa678575bdfb6ef3f635bb3 (patch)
tree1123bb3cc560fe97c88ac1cc2b11dc65ed52f2fa /apps/files_external/lib/amazons3.php
parent2b91e628f5699a44389479ee06ed52040b85313e (diff)
downloadnextcloud-server-056b97834d1be74d9fa678575bdfb6ef3f635bb3.tar.gz
nextcloud-server-056b97834d1be74d9fa678575bdfb6ef3f635bb3.zip
files_extern: remove empty Body and ContentLength in Amazon S3 mount
fixes #10501 Conflicts: apps/files_external/lib/amazons3.php
Diffstat (limited to 'apps/files_external/lib/amazons3.php')
-rw-r--r--apps/files_external/lib/amazons3.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/files_external/lib/amazons3.php b/apps/files_external/lib/amazons3.php
index 9da6dcbbbf3..5fc3c48ac76 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) {