From 21160a443b2f653ce1e8d66dec5af26dc9b0b7b8 Mon Sep 17 00:00:00 2001 From: Nikolay Borisenko <22616990+nvborisenko@users.noreply.github.com> Date: Tue, 10 Dec 2024 21:47:37 +0300 Subject: [PATCH] Fix merge --- src/ReportPortal.Client/Resources/ServiceBaseResource.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ReportPortal.Client/Resources/ServiceBaseResource.cs b/src/ReportPortal.Client/Resources/ServiceBaseResource.cs index f3f09f1..c2788d0 100644 --- a/src/ReportPortal.Client/Resources/ServiceBaseResource.cs +++ b/src/ReportPortal.Client/Resources/ServiceBaseResource.cs @@ -64,7 +64,7 @@ private async Task SendAsJsonAsync( await ModelSerializer.SerializeAsync(request, memoryStream, cancellationToken).ConfigureAwait(false); memoryStream.Seek(0, SeekOrigin.Begin); httpContent = new StreamContent(memoryStream); - httpContent.Headers.ContentType = new MediaTypeHeaderValue(contentType); + httpContent.Headers.ContentType = new MediaTypeHeaderValue("application/json"); return await SendHttpRequestAsync(httpMethod, uri, httpContent, contentType, cancellationToken).ConfigureAwait(false); }