From 31391370d6615010661b05919ad3a50266e846cf Mon Sep 17 00:00:00 2001 From: 7702244 <56172899+7702244@users.noreply.github.com> Date: Thu, 27 Jun 2024 23:04:30 +0300 Subject: [PATCH] Update HttpContentExtensions.cs --- src/MAOToolkit/Extensions/HttpContentExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MAOToolkit/Extensions/HttpContentExtensions.cs b/src/MAOToolkit/Extensions/HttpContentExtensions.cs index 37febb9..bc3206a 100644 --- a/src/MAOToolkit/Extensions/HttpContentExtensions.cs +++ b/src/MAOToolkit/Extensions/HttpContentExtensions.cs @@ -27,7 +27,7 @@ public static async Task ReadAsStringAsync(this HttpContent httpContent, Encoding.UTF8, detectEncodingFromByteOrderMarks: false, bufferSize: 1024, - leaveOpen: false); + leaveOpen: true); return await reader.ReadWithLimitAsync(charsLimit); } }