smithy-lang / smithy-kotlin

Smithy code generator for Kotlin (in development)
Apache License 2.0
72 stars 26 forks source link

feat: expand use of `chunked` content encoding #1018

Closed lauzadis closed 6 months ago

lauzadis commented 6 months ago

If a streaming body with an undefined content length is provided, upload it with chunked to ensure the hash can be properly calculated. This reduces occurrences of exceptions claiming Stream must be replayable to calculate a body hash

Issue \

Addresses an issue in https://github.com/awslabs/aws-sdk-kotlin/issues/1157

Description of changes

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

sonarcloud[bot] commented 6 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud