Skip to content

Commit 539e65b

Browse files
authored
Add transfer-encoding and connection to list of unsigned sigv4 headers (#3176)
1 parent e5aeae2 commit 539e65b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

gems/aws-sdk-core/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Unreleased Changes
22
------------------
33

4+
* Issue - Add `transfer-encoding` and `connection` to list of unsigned sigv4 headers.
5+
46
3.217.0 (2025-01-24)
57
------------------
68

gems/aws-sdk-core/lib/aws-sdk-core/plugins/sign.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def initialize(auth_scheme, config, sigv4_overrides = {})
113113
signing_algorithm: scheme_name.to_sym,
114114
uri_escape_path: !!!auth_scheme['disableDoubleEncoding'],
115115
normalize_path: !!!auth_scheme['disableNormalizePath'],
116-
unsigned_headers: %w[content-length user-agent x-amzn-trace-id]
116+
unsigned_headers: %w[content-length user-agent x-amzn-trace-id expect transfer-encoding connection]
117117
)
118118
rescue Aws::Sigv4::Errors::MissingCredentialsError
119119
raise Aws::Errors::MissingCredentialsError

0 commit comments

Comments
 (0)