This is an automated email from the ASF dual-hosted git repository. xuanwo pushed a commit to branch fix-content-encoding-test in repository https://gitbox.apache.org/repos/asf/opendal.git
commit 3bd599851d49bbd400bb7b7164efd4846695b1fd Author: Xuanwo <[email protected]> AuthorDate: Sat Feb 8 11:25:37 2025 +0800 fix(services/gcs): Fix content encoding can't be used alone Signed-off-by: Xuanwo <[email protected]> --- core/src/services/gcs/core.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/services/gcs/core.rs b/core/src/services/gcs/core.rs index 4485cea3e..0af80fe6a 100644 --- a/core/src/services/gcs/core.rs +++ b/core/src/services/gcs/core.rs @@ -657,6 +657,7 @@ pub struct InsertRequestMetadata<'a> { impl InsertRequestMetadata<'_> { pub fn is_empty(&self) -> bool { self.content_type.is_none() + && self.content_encoding.is_none() && self.storage_class.is_none() && self.cache_control.is_none() && self.metadata.is_none()
