jkosh44-datadog commented on code in PR #257: URL: https://github.com/apache/arrow-rs-object-store/pull/257#discussion_r2007503790
########## src/gcp/client.rs: ########## @@ -397,8 +397,13 @@ impl GoogleCloudStorageClient { extensions, } = opts; - let builder = self - .request(Method::PUT, path) + let builder = self.request(Method::PUT, path); + let builder = if payload.content_length() == 0 { + builder.header(&CONTENT_LENGTH, "0") + } else { + builder + }; + let builder = builder Review Comment: Ah got it, I just reverted this change. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org