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); } }