Skip to content

Commit

Permalink
Update src/OpenTelemetry.Instrumentation.Http/HttpRequestMessageConte…
Browse files Browse the repository at this point in the history
…xtPropagation.cs

Co-authored-by: Michael Maxwell <mike.ian.maxwell@gmail.com>
  • Loading branch information
denisivan0v and mic-max committed Jan 27, 2022
1 parent 63358b3 commit 2a693e1
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,7 @@ internal static class HttpRequestMessageContextPropagation

internal static Action<HttpRequestMessage, string, string> HeaderValueSetter => (request, name, value) =>
{
if (request.Headers.Contains(name))
{
request.Headers.Remove(name);
}
request.Headers.Remove(name);
request.Headers.Add(name, value);
};
Expand Down

0 comments on commit 2a693e1

Please sign in to comment.