|
@ -22,6 +22,8 @@ func main() { |
|
|
Transport: &cos.AuthorizationTransport{ |
|
|
Transport: &cos.AuthorizationTransport{ |
|
|
SecretID: os.Getenv("COS_SECRETID"), |
|
|
SecretID: os.Getenv("COS_SECRETID"), |
|
|
SecretKey: os.Getenv("COS_SECRETKEY"), |
|
|
SecretKey: os.Getenv("COS_SECRETKEY"), |
|
|
|
|
|
SecretID: ak, |
|
|
|
|
|
SecretKey: sk, |
|
|
Transport: &debug.DebugRequestTransport{ |
|
|
Transport: &debug.DebugRequestTransport{ |
|
|
RequestHeader: true, |
|
|
RequestHeader: true, |
|
|
RequestBody: true, |
|
|
RequestBody: true, |
|
|