You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2023/08/30 11:04:22 UTC
[incubator-opendal] branch stream-based-write updated: Disable write without content length
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch stream-based-write
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
The following commit(s) were added to refs/heads/stream-based-write by this push:
new dd0bc744c Disable write without content length
dd0bc744c is described below
commit dd0bc744cc1d59fdbadf9d9a99ccf00ee1c7425a
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Wed Aug 30 19:04:05 2023 +0800
Disable write without content length
Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
core/src/services/gcs/backend.rs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/core/src/services/gcs/backend.rs b/core/src/services/gcs/backend.rs
index b4a844ea6..3cfc7bf03 100644
--- a/core/src/services/gcs/backend.rs
+++ b/core/src/services/gcs/backend.rs
@@ -362,7 +362,8 @@ impl Accessor for GcsBackend {
write: true,
write_can_sink: true,
write_with_content_type: true,
- write_without_content_length: true,
+ // TODO: we are working on refactor this.
+ // write_without_content_length: true,
delete: true,
copy: true,