object-store-python
object-store-python copied to clipboard
Can't upload empty file to S3
trafficstars
Hello, thx for porting object-store to python!
I'm facing this issue when trying to .put('some-key', b'') (empty object) to S3 storage, other sizes work ok:
Exception: Generic S3 error: Error performing put request data: 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