Skip to content

Commit

Permalink
Update HttpContentExtensions.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
7702244 committed Jun 27, 2024
1 parent 270008a commit 3139137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MAOToolkit/Extensions/HttpContentExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static async Task<string> ReadAsStringAsync(this HttpContent httpContent,
Encoding.UTF8,
detectEncodingFromByteOrderMarks: false,
bufferSize: 1024,
leaveOpen: false);
leaveOpen: true);
return await reader.ReadWithLimitAsync(charsLimit);
}
}
Expand Down

0 comments on commit 3139137

Please sign in to comment.