Skip to content
Unverified Commit 53b35afd authored by Russell Cohen's avatar Russell Cohen Committed by GitHub
Browse files

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
parent cd58b0f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment