smithy-lang / smithy-kotlin

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

misc: remove "Content-Length" headers for `aws-chunked` requests #1053

Closed lauzadis closed 3 months ago

lauzadis commented 3 months ago

According to the aws-chunked specification, we should not be sending Content-Length headers for aws-chunked requests.

If you include the Transfer-Encoding header and specify any value other than identity, you must omit the Content-Length header.

Issue \

Related to https://github.com/awslabs/aws-sdk-kotlin/issues/1249

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 3 months ago

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

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

See analysis details on SonarCloud