From 6502b8e069a2277553e522f448ffc8bf57947497 Mon Sep 17 00:00:00 2001 From: 1585346868 <1585346868@qq.com> Date: Tue, 6 Jan 2026 21:15:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20src/aliyunoss.cpp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/aliyunoss.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aliyunoss.cpp b/src/aliyunoss.cpp index 112c855..2d404dc 100644 --- a/src/aliyunoss.cpp +++ b/src/aliyunoss.cpp @@ -158,11 +158,11 @@ std::string module::aliyun_oss::del(const std::string& endpoint, const std::stri headers = aos_table_make(options->pool, 1); - apr_table_set(headers, OSS_CONTENT_TYPE, content_type.c_str()); + //apr_table_set(headers, OSS_CONTENT_TYPE, content_type.c_str()); aos_str_set(&bucket, bucket_name.c_str()); aos_str_set(&object, object_name.c_str()); - s = oss_delete_object(oss_client_options, &bucket, &object, &resp_headers); + s = oss_delete_object(options, &bucket, &object, &resp_headers); std::string return_msg; if (aos_status_is_ok(s)) {