Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add host request header #61

Merged
merged 1 commit into from May 11, 2023
Merged

Add host request header #61

merged 1 commit into from May 11, 2023

Conversation

moly7x
Copy link
Contributor

@moly7x moly7x commented May 9, 2023

Because the port number is not included in the host request header, the requests-aws4auth revert commit computes the wrong signature starting with version 1.2.2. If RGW does not utilize port 80 or 433, the signature will be incorrect. So I included host header request for requests-aws4auth computes right signature.

Ref and issues:
tedder/requests-aws4auth#34
tedder/requests-aws4auth@b328b86
tedder/requests-aws4auth@8e1417c
tedder/requests-aws4auth#65

@moly7x
Copy link
Contributor Author

moly7x commented May 11, 2023

@dyarnell can your review this PR for me?
Thanks

@dyarnell
Copy link
Contributor

Looks good.

@dyarnell dyarnell merged commit 5f63060 into UMIACS:master May 11, 2023
@dyarnell
Copy link
Contributor

Released and published to PyPI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants