Skip to content

Commit

Permalink
Add x-amz-region-set to list of headers deleted for re-sign (#2680)
Browse files Browse the repository at this point in the history
  • Loading branch information
alextwoods authored Mar 10, 2022
1 parent 2086a3b commit 16b4e18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gems/aws-sdk-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Unreleased Changes
------------------

* Issue - Add x-amz-region-set to list of headers deleted for re-sign.

3.129.1 (2022-03-10)
------------------

Expand Down
1 change: 1 addition & 0 deletions gems/aws-sdk-core/lib/aws-sdk-core/plugins/signature_v4.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ def apply_signature(options = {})
req.headers.delete('Authorization')
req.headers.delete('X-Amz-Security-Token')
req.headers.delete('X-Amz-Date')
req.headers.delete('x-Amz-Region-Set')

if context.config.respond_to?(:clock_skew) &&
context.config.clock_skew &&
Expand Down

0 comments on commit 16b4e18

Please sign in to comment.