-
Notifications
You must be signed in to change notification settings - Fork 740
Open
Labels
3rd-partyIssue relates to a 3rd-party clone of an AWS serviceIssue relates to a 3rd-party clone of an AWS servicefeature-requestA feature should be added or improved.A feature should be added or improved.p3This is a minor priority issueThis is a minor priority issuequeuedThis issues is on the AWS team's backlogThis issues is on the AWS team's backlog
Description
Acknowledgements
- I have searched (https://github.com/aws/aws-sdk/issues?q=is%3Aissue) for past instances of this issue
- I have verified all of my SDK modules are up-to-date (you can perform a bulk update with
go get -u github.com/aws/aws-sdk-go-v2/...)
Describe the bug
Happend on handle 307 response.
Like Authorzation, if the host has been changed, the X-Amz-Security-Token should also be remove from request.
Regression Issue
- Select this option if this issue appears to be a regression.
Expected Behavior
do not send X-Amz-Security-Token after 307 to a different host
Current Behavior
Now aws-sdk-go-v2 handle 307 response through http stdlib. It will remove the Authorzation header if host changed but X-Amz-Security-Token not.
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
AWS Go SDK V2 Module Versions Used
latest
Compiler and Version used
1.25.5
Operating System and version
Linux
Metadata
Metadata
Assignees
Labels
3rd-partyIssue relates to a 3rd-party clone of an AWS serviceIssue relates to a 3rd-party clone of an AWS servicefeature-requestA feature should be added or improved.A feature should be added or improved.p3This is a minor priority issueThis is a minor priority issuequeuedThis issues is on the AWS team's backlogThis issues is on the AWS team's backlog