jkosh44 commented on code in PR #257:
URL:
https://github.com/apache/arrow-rs-object-store/pull/257#discussion_r2007447299
##########
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:
I've updated to do this, but I also had to update the implementation of
`self.put` to set `Content-Length` for empty payloads.
--
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]