From 60439bfaa595530a439d93b6fc9fd359a56ddfea Mon Sep 17 00:00:00 2001 From: Alex Woods Date: Thu, 10 Mar 2022 13:59:09 -0800 Subject: [PATCH 1/2] Add x-amz-region-set to list of headers deleted for re-sign --- gems/aws-sdk-core/lib/aws-sdk-core/plugins/signature_v4.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/gems/aws-sdk-core/lib/aws-sdk-core/plugins/signature_v4.rb b/gems/aws-sdk-core/lib/aws-sdk-core/plugins/signature_v4.rb index c403d60ee9d..b74a0403ef5 100644 --- a/gems/aws-sdk-core/lib/aws-sdk-core/plugins/signature_v4.rb +++ b/gems/aws-sdk-core/lib/aws-sdk-core/plugins/signature_v4.rb @@ -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 && From 15f0da87d25392572fdbf3c7525df092de981bee Mon Sep 17 00:00:00 2001 From: Alex Woods Date: Thu, 10 Mar 2022 14:50:40 -0800 Subject: [PATCH 2/2] Add changelog --- gems/aws-sdk-core/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gems/aws-sdk-core/CHANGELOG.md b/gems/aws-sdk-core/CHANGELOG.md index 5051c22d8da..f385d781382 100644 --- a/gems/aws-sdk-core/CHANGELOG.md +++ b/gems/aws-sdk-core/CHANGELOG.md @@ -1,6 +1,8 @@ Unreleased Changes ------------------ +* Issue - Add x-amz-region-set to list of headers deleted for re-sign. + 3.129.0 (2022-03-08) ------------------