Skip to content

Commit

Permalink
Merge pull request #143 from fabiohmribeiro/bugfixe-ajuste-response-c…
Browse files Browse the repository at this point in the history
…ontent-nethttp

Ajuste na função do content do motor NetHTTP.
  • Loading branch information
viniciussanchez authored Jun 19, 2023
2 parents 8fc29e2 + 8513a0d commit 300df1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RESTRequest4D.Response.NetHTTP.pas
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class function TResponseNetHTTP.New: IResponse;
function TResponseNetHTTP.Content: string;
begin
if Assigned(FHTTPResponse) then
Result := FHTTPResponse.ContentAsString;
Result := TStringStream(FHTTPResponse.ContentStream).DataString;
end;

function TResponseNetHTTP.ContentEncoding: string;
Expand Down

0 comments on commit 300df1a

Please sign in to comment.