fix(signing): Fix duplicate content-length header (#697)
If `content_length` was set explicitly, we were erroneously duplicating it for non-streaming bodies. This commit: - Uses `set_header_if_absent` to avoid double setting content length - Adds a trace level log of the canonical request during signing - Adds an additional protocol test that fails prior to this change
Loading
Please register or sign in to comment