diff --git a/src/store/object_store.rs b/src/store/object_store.rs index 1aaef1d..f4bfeff 100644 --- a/src/store/object_store.rs +++ b/src/store/object_store.rs @@ -582,7 +582,12 @@ impl ObjectStore { let (req, action) = self.build_request_inner(action); - req.body(action.body()).send().await + let body: Vec = action.body().into(); + + req.header(CONTENT_LENGTH, body.len()) + .body(body) + .send() + .await } fn create_abort_multipart_request(