From 3ad32bd705c53e5eda33f80e70b8ea305fd9cd8e Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Tue, 2 Apr 2024 08:50:52 +0000 Subject: [PATCH] fix double --- src/Storage/Device/S3.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Storage/Device/S3.php b/src/Storage/Device/S3.php index 3fb9f59d..c319bc57 100644 --- a/src/Storage/Device/S3.php +++ b/src/Storage/Device/S3.php @@ -525,8 +525,6 @@ protected function listObjects(string $prefix = '', int $maxKeys = self::MAX_PAG $uri = '/'; $prefix = ltrim($prefix, '/'); /** S3 specific requirement that prefix should never contain a leading slash */ - unset($this->amzHeaders['x-amz-acl']); - unset($this->amzHeaders['x-amz-content-sha256']); $this->headers['content-type'] = 'text/plain'; $this->headers['content-md5'] = \base64_encode(md5('', true));