From 912a4b7563dda3a6caf6875dc51a67d763c82f59 Mon Sep 17 00:00:00 2001 From: Andres Mendoza <33837683+jamendozag@users.noreply.github.com> Date: Sat, 27 Oct 2018 06:04:59 -0500 Subject: [PATCH] Changed authorization header key to be the standard 'Authorization', otherwise, it does not work (#114) Signed-off-by: Andres Mendoza --- src/Jaeger/Senders/HttpSender.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Jaeger/Senders/HttpSender.cs b/src/Jaeger/Senders/HttpSender.cs index 31bff8179..488e75b0e 100644 --- a/src/Jaeger/Senders/HttpSender.cs +++ b/src/Jaeger/Senders/HttpSender.cs @@ -42,7 +42,7 @@ private HttpSender(Builder builder) var customHeaders = new Dictionary(); if (builder.AuthenticationHeaderValue != null) { - customHeaders.Add("Authorize", builder.AuthenticationHeaderValue.ToString()); + customHeaders.Add("Authorization", builder.AuthenticationHeaderValue.ToString()); } _transport = new THttpClientTransport(collectorUri, customHeaders);