mirror of
https://github.com/versity/versitygw.git
synced 2026-01-10 13:27:21 +00:00
Fixes #1171 As signature v2 is depracated the gateway doesn't support it. AWS S3 supports signature version 2 in some regions. For some regions the request fails with error: ``` InvalidRequest: The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256. ``` The PR makes this change to return unsupported authorization mechanism for `sigV2` requests.