version bumpo

This commit is contained in:
Pilzinsel64
2025-12-03 09:02:49 +01:00
parent ffa6c647f8
commit 3381e5cbf0
2 changed files with 3 additions and 1 deletions

View File

@@ -104,11 +104,13 @@ public class ApiClient(string apiUrl) : IApiClient
{ {
content = new ByteArrayContent(messageRawBytes.Data); content = new ByteArrayContent(messageRawBytes.Data);
content.Headers.ContentType = new("application/octet-stream"); content.Headers.ContentType = new("application/octet-stream");
content.Headers.ContentLength = messageRawBytes.Data.Length;
} }
else if (context.Message is ApiRawStreamMessage messageRawStream) else if (context.Message is ApiRawStreamMessage messageRawStream)
{ {
content = new StreamContent(messageRawStream.Data); content = new StreamContent(messageRawStream.Data);
content.Headers.ContentType = new("application/octet-stream"); content.Headers.ContentType = new("application/octet-stream");
content.Headers.ContentLength = messageRawStream.Data.Length;
} }
else if (context.Message is not null) else if (context.Message is not null)
content = new StringContent(context.Serializer.Serialize(context.Message)!, null, "application/json"); content = new StringContent(context.Serializer.Serialize(context.Message)!, null, "application/json");

View File

@@ -8,7 +8,7 @@
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
<Version>2.11.1</Version> <Version>2.11.2</Version>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>