|
@@ -337,7 +337,10 @@ Function TRequestResponse.GetContentAsString: String;
|
|
begin
|
|
begin
|
|
SetLength(Result,Content.Size);
|
|
SetLength(Result,Content.Size);
|
|
if (Length(Result)>0) then
|
|
if (Length(Result)>0) then
|
|
|
|
+ begin
|
|
|
|
+ Content.Position:=0;
|
|
Content.ReadBuffer(Result[1],Length(Result));
|
|
Content.ReadBuffer(Result[1],Length(Result));
|
|
|
|
+ end;
|
|
end;
|
|
end;
|
|
|
|
|
|
end.
|
|
end.
|