diff --git a/src/Unleash/Communication/UnleashApiClient.cs b/src/Unleash/Communication/UnleashApiClient.cs index caa575a..c64ee3b 100644 --- a/src/Unleash/Communication/UnleashApiClient.cs +++ b/src/Unleash/Communication/UnleashApiClient.cs @@ -190,7 +190,6 @@ public async Task RegisterClient(ClientRegistration registration, Cancella using (var request = new HttpRequestMessage(HttpMethod.Post, requestUri)) { request.Content = new StringContent(JsonSerializer.Serialize(registration, options), Encoding.UTF8, "application/json"); - request.Content.Headers.AddContentTypeJson(); SetRequestHeaders(request, clientRequestHeaders); @@ -230,7 +229,6 @@ public async Task SendMetrics(Yggdrasil.MetricsBucket metrics, Cancellatio using (var request = new HttpRequestMessage(HttpMethod.Post, requestUri)) { request.Content = new StringContent(JsonSerializer.Serialize(clientMetrics, options), Encoding.UTF8, "application/json"); - request.Content.Headers.AddContentTypeJson(); SetRequestHeaders(request, clientRequestHeaders);