fileupload demo: Removed RawRequest when not needed

This commit is contained in:
Daniele Teti 2024-06-26 16:08:11 +02:00
parent 089b2f29af
commit 38abb58770

View File

@ -99,7 +99,7 @@ var
lFName: string;
lFile: TFileStream;
begin
if Context.Request.RawWebRequest.Files.Count <> 1 then
if Context.Request.Files.Count <> 1 then
begin
Exit(RedirectResponse('/'));
end;