* Fix compilation with 3.0.4

git-svn-id: trunk@58552 -
This commit is contained in:
michael 2018-07-17 18:45:41 +00:00
parent 6f01c07364
commit 8ebeed522c

View File

@ -319,7 +319,11 @@ begin
R.Content:=SERequestContent.Text
else
begin
{$IF FPC_FULLVERSION>30004}
S:=TStringStream.Create('',CP_UTF8);
{$ELSE}
S:=TStringStream.Create('');
{$ENDIF}
try
OnSendContent(Self,S);
R.Content:=S.DataString;