diff --git a/src/OSS/OssClient.php b/src/OSS/OssClient.php index c953344..8ad9717 100644 --- a/src/OSS/OssClient.php +++ b/src/OSS/OssClient.php @@ -2233,6 +2233,7 @@ public function doesObjectExist($bucket, $object, $options = NULL) $options[self::OSS_BUCKET] = $bucket; $options[self::OSS_METHOD] = self::OSS_HTTP_HEAD; $options[self::OSS_OBJECT] = $object; + $options[self::OSS_SUB_RESOURCE] = 'objectMeta'; $response = $this->auth($options); $result = new ExistResult($response); return $result->getData();