Turbo87 opened a new issue, #155:
URL: https://github.com/apache/arrow-rs-object-store/issues/155

   **Describe the bug**
   <!--
   A clear and concise description of what the bug is.
   -->
   
   When using the S3 implementation of `object_store` a `put()` call with an 
empty content fails on the server side with a "411 Length Required" error:
   
   > Generic S3 error: response error "\<?xml version="1.0" encoding="UTF-8"?>
   \<Error>\<Code>MissingContentLength\</Code>\<Message>You must provide the 
Content-Length HTTP header.\</Message>\</Error>", after 0 retries: HTTP status 
client error (411 Length Required) for url 
(https://s3.us-west-2.amazonaws.com/...)
   
   **To Reproduce**
   <!--
   Steps to reproduce the behavior:
   -->
   
   ```rs
   s3_store.put(&"foo".into(), Bytes::new()).await.unwrap()
   ```
   
   
   **Expected behavior**
   <!--
   A clear and concise description of what you expected to happen.
   -->
   
   The call succeeds and uploads an empty file to S3.
   
   **Additional context**
   <!--
   Add any other context about the problem here.
   -->
   
   - https://github.com/rust-lang/crates.io/issues/6793


-- 
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.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to