Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
RojaEnnam committed Aug 11, 2021
1 parent 23dc51a commit f1fdec7
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,7 @@ internal static void SetTelemetryData(HttpRequestMessage request, IDictionary<st
if (additionalHeaders != null)
{
foreach (var parameter in additionalHeaders)
{
// remove this header if it already exists.
// we don't want to add an additional value in case when a telemetry header already exists, but to overwrite it.
request.Headers.Remove(parameter.Key);
request.Headers.Add(parameter.Key, parameter.Value);
}
}
}

Expand Down

0 comments on commit f1fdec7

Please sign in to comment.