Skip to content

Commit

Permalink
fix(services/gcs): Fix content encoding can't be used alone (#5614)
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <[email protected]>
  • Loading branch information
Xuanwo authored Feb 8, 2025
1 parent 30dd2a8 commit 410f7ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/services/gcs/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 410f7ed

Please sign in to comment.