更新 src/aliyunoss.cpp

This commit is contained in:
2026-01-06 21:12:55 +08:00
parent c14785f8f2
commit 385102f39e

View File

@@ -114,7 +114,7 @@ std::string module::aliyun_oss::upfile(const std::string& endpoint, const std::s
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());
aos_str_set(&file, filename.c_str());