The bug happens because we keep adding headers to the DefaultRequestHeaders of a static HttpClient. This means that by the second time this is called, the header will be something like "Metadata-Flavor" = {"Google", "Google" } instead of "Metadata-Flavor" = "Google".
The bug happens because we keep adding headers to the
DefaultRequestHeaders
of a staticHttpClient
. This means that by the second time this is called, the header will be something like"Metadata-Flavor" = {"Google", "Google" }
instead of"Metadata-Flavor" = "Google"
.