files_extern: remove empty Body and ContentLength in Amazon S3 mount
fixes #10501 Conflicts: apps/files_external/lib/amazons3.php
This commit is contained in:
parent
3427976bb6
commit
0d0c9d0bb3
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue