Skip to content

Commit

Permalink
Update RESTRequest4D.Response.NetHTTP.pas
Browse files Browse the repository at this point in the history
Change FHeaders := TStrings.Create;  to  FHeaders := TStringList.Create; to avoid raised exception  "Abstract Error"
  • Loading branch information
freitasjca authored Jul 3, 2023
1 parent 3f6175a commit 1c474ea
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 @@ -93,7 +93,7 @@ function TResponseNetHTTP.ContentType: string;

constructor TResponseNetHTTP.Create;
begin
FHeaders := TStrings.Create;
FHeaders := TStringList.Create;
end;

destructor TResponseNetHTTP.Destroy;
Expand Down

0 comments on commit 1c474ea

Please sign in to comment.