Browse Source

[httpServer] simple change

Exilon 4 years ago
parent
commit
9893e3febc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Quick.HttpServer.Request.pas

+ 1 - 1
Quick.HttpServer.Request.pas

@@ -143,7 +143,7 @@ implementation
 
 function THttpRequest.ContentAsString: string;
 begin
-  if fContent <> nil then Result := StreamToString2(fContent,TEncoding.UTF8);
+  if fContent <> nil then Result := StreamToString(fContent,TEncoding.UTF8);
 end;
 
 constructor THttpRequest.Create;