AwsSecretCache/VERSION only gets appended once. Either define the user agent string at cache creation or check that the user agent string is not present in the header before appending.
Environment
.NET version, OS, etc.
Observed on .NET 6 but likely happens on other versions too.
Describe the bug
We've seen instances of the user agent string being repeatedly appended to the user agent header which has yielded things like
etc.
problem code is here
Expected behavior
AwsSecretCache/VERSION
only gets appended once. Either define the user agent string at cache creation or check that the user agent string is not present in the header before appending.Environment
.NET version, OS, etc.
Observed on .NET 6 but likely happens on other versions too.
Additional context