tustvold commented on code in PR #257:
URL: 
https://github.com/apache/arrow-rs-object-store/pull/257#discussion_r2007245772


##########
src/gcp/client.rs:
##########
@@ -517,6 +517,7 @@ impl GoogleCloudStorageClient {
             // GCS doesn't allow empty multipart uploads
             let result = self
                 .request(Method::PUT, path)
+                .header(&CONTENT_LENGTH, "0")
                 .idempotent(true)
                 .do_put()
                 .await?;

Review Comment:
   ```suggestion
               let result = self.put(path, PutPayload::new(), 
Default::default()).await?;
   ```
   
   This will help to avoid any potential divergence in future, and also perhaps 
be a bit more clear what is going on?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to