This is an automated email from the ASF dual-hosted git repository.

suyanhanx pushed a commit to branch test-for-write-with-content-type
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git

commit edd7f3277a9420afab33f99035f10142b5d94512
Author: suyanhanx <[email protected]>
AuthorDate: Thu Apr 27 13:26:23 2023 +0800

    enable for other cloud services
    
    Signed-off-by: suyanhanx <[email protected]>
---
 core/src/services/gcs/backend.rs | 1 +
 core/src/services/obs/backend.rs | 1 +
 core/src/services/oss/backend.rs | 1 +
 3 files changed, 3 insertions(+)

diff --git a/core/src/services/gcs/backend.rs b/core/src/services/gcs/backend.rs
index 7cfa47cf..a53a20ab 100644
--- a/core/src/services/gcs/backend.rs
+++ b/core/src/services/gcs/backend.rs
@@ -383,6 +383,7 @@ impl Accessor for GcsBackend {
                 read_can_next: true,
 
                 write: true,
+                write_with_content_type: true,
                 write_without_content_length: true,
 
                 list: true,
diff --git a/core/src/services/obs/backend.rs b/core/src/services/obs/backend.rs
index 8a360f61..4eaf9c01 100644
--- a/core/src/services/obs/backend.rs
+++ b/core/src/services/obs/backend.rs
@@ -314,6 +314,7 @@ impl Accessor for ObsBackend {
                 read_can_next: true,
 
                 write: true,
+                write_with_content_type: true,
                 write_with_cache_control: true,
 
                 list: true,
diff --git a/core/src/services/oss/backend.rs b/core/src/services/oss/backend.rs
index a4284dc3..1388c25a 100644
--- a/core/src/services/oss/backend.rs
+++ b/core/src/services/oss/backend.rs
@@ -433,6 +433,7 @@ impl Accessor for OssBackend {
 
                 write: true,
                 write_with_cache_control: true,
+                write_with_content_type: true,
                 write_without_content_length: true,
 
                 list: true,

Reply via email to