]> source.dussan.org Git - nextcloud-server.git/commitdiff
files_extern: remove empty Body and ContentLength in Amazon S3 mount
authorAndré Gaul <gaul@web-yard.de>
Mon, 18 Aug 2014 23:14:58 +0000 (01:14 +0200)
committerVincent Petry <pvince81@owncloud.com>
Wed, 8 Oct 2014 16:49:59 +0000 (18:49 +0200)
fixes #10501

Conflicts:
apps/files_external/lib/amazons3.php

apps/files_external/lib/amazons3.php

index 2917b1d19f18b5e3af6397707ddcd2187287b8c7..8e893b0aac627fe2308e202616f1de5f11570e02 100644 (file)
@@ -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) {