tedder / requests-aws4auth

Amazon Web Services version 4 authentication for the Python Requests module
MIT License
179 stars 63 forks source link

Prevent unquoting of query string reserved characters #60

Closed mliarakos closed 2 years ago

mliarakos commented 2 years ago

Fixes #59.

In amz_cano_querystring:

This breaks the post-vanilla-query-nonunreserved test in aws_testsuite because responses auto-quotes the URL, so in test_requests_aws4auth.py:

Added test cases to cover this issue. All tests pass. including the live tests (for the endpoints that still exist).

tedder commented 2 years ago

sorry for the delay. this is good!