aws-proxy icon indicating copy to clipboard operation
aws-proxy copied to clipboard

Add the ability to debug the signature

Open cpliakas opened this issue 9 years ago • 0 comments

The purpose is to debug the signing in case something goes wrong. This was instrumental in figuring out the "Connection: close" header. It was removed from this library, but it might be worth figuring out how to add it back in.

Code snippet:

import github.com/aws/aws-sdk-go/aws, add the following code:

signer.Logger = aws.NewDefaultLogger()
signer.Debug = aws.LogDebugWithSigning

cpliakas avatar Aug 23 '16 14:08 cpliakas