Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali-YousefiTelori committed Sep 26, 2023
1 parent 48e712e commit 1da99f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ string NormalizeOSText(string text)
{
#if (!NET452 && !NET48)
if (!System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform(System.Runtime.InteropServices.OSPlatform.Windows))
return text.Replace("Content-Length: 21", "Content-Length: 20");
return text.Replace("\r\n", "\n").Replace("Content-Length: 21", "Content-Length: 20");
#endif
return text;
}
Expand Down

0 comments on commit 1da99f6

Please sign in to comment.