aws-sdk-go-v2
aws-sdk-go-v2 copied to clipboard
chunked transfer with s3 ops doesn't respect explicit content length with io.PipeReader
See #2511.
We have a special case for io.PipeReader that sets request ContentLength to -1, which is at odds with certain payload signing schemes in S3.
Unclear whether we'll be able to fix this long-term given that it may be behaviorally sensitive.
Hi I see this has been tagged with workaround-available, would you mind sharing what that is?
Same here - would really appreciate the workaround if available 🙇
Hi @lucix-aws could you share the work around, please?