Skip to content
Unverified Commit 619c6d67 authored by ysaito1001's avatar ysaito1001 Committed by GitHub
Browse files

Preserve custom content-encoding value when setting `aws-chunked` (#4099)

## Motivation and Context
aws-sdk-rust#1281

## Description
When setting `aws-chunked` to the `Content-Encoding` header for
streaming APIs, we overwrite an existing custom value, if any provided
by the customer. The expected behavior is to support multiple values as
described in [the
documentation](https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-streaming.html).

## Testing
Updated existing unit test to account for a custom `Content-Encoding`
header value.

## Checklist
- [x] For changes to the AWS SDK, generated SDK code, or SDK runtime
crates, I have created a changelog entry Markdown file in the
`.changelog` directory, specifying "aws-sdk-rust" in the `applies_to`
key.

----

_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
parent e4f4e922
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment