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));