diff --git a/google/externalaccount/aws.go b/google/externalaccount/aws.go index da61d0c0..ca27c2e9 100644 --- a/google/externalaccount/aws.go +++ b/google/externalaccount/aws.go @@ -520,7 +520,6 @@ func (cs *awsCredentialSource) getMetadataSecurityCredentials(roleName string, h if err != nil { return result, err } - req.Header.Add("Content-Type", "application/json") for name, value := range headers { req.Header.Add(name, value)