Skip to content

Commit 3bd5998

Browse files
committed
fix(services/gcs): Fix content encoding can't be used alone
Signed-off-by: Xuanwo <github@xuanwo.io>
1 parent 30dd2a8 commit 3bd5998

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

core/src/services/gcs/core.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -657,6 +657,7 @@ pub struct InsertRequestMetadata<'a> {
657657
impl InsertRequestMetadata<'_> {
658658
pub fn is_empty(&self) -> bool {
659659
self.content_type.is_none()
660+
&& self.content_encoding.is_none()
660661
&& self.storage_class.is_none()
661662
&& self.cache_control.is_none()
662663
&& self.metadata.is_none()

0 commit comments

Comments
 (0)