opensearch-migrations
opensearch-migrations copied to clipboard
Fix replayer sigv4 logic without payload
Description
Fixed a bug that was in the replayer on sigv4 requests without payloads when content-type did not exist. Cleaned up the unit tests for this
- Category: Bug fix
- Why these changes are required? sigv4 failures without payloads
- What is the old behavior before changes and new behavior after changes? sigv4 failures without payloads
Issues Resolved
Is this a backport? If so, please add backport PR # and/or commits #
Testing
Added unit tests
Check List
- [x] New functionality includes testing
- [x] All tests pass, including unit test, integration test and doctest
- [x] New functionality has been documented
- [x] Commits are signed per the DCO using --signoff
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.