Some methods inject headers like 'Content-Length' or 'Content-Type',
however when the user provided headers were not the exact
same casing(eg. 'Content-type' instead of 'Content-Type') both headers
were sent, in cases where their content did not match this resulted in S3
resetting the connection without a clear error message.
Some methods inject headers like 'Content-Length' or 'Content-Type', however when the user provided headers were not the exact same casing(eg. 'Content-type' instead of 'Content-Type') both headers were sent, in cases where their content did not match this resulted in S3 resetting the connection without a clear error message.