* Commented out some debug-code which causes problems on windows

git-svn-id: trunk@8293 -
This commit is contained in:
joost 2007-08-20 21:10:32 +00:00
parent d041db6cb9
commit bc5225b8ae

View File

@ -414,13 +414,15 @@ begin
I.Free; I.Free;
end; end;
M.Position:=0; M.Position:=0;
With TFileStream.Create('/tmp/query',fmCreate) do // joost, aug 20th: I've removed this. It doesn't work with windows and I think
// it's a debug-only thing...
{ With TFileStream.Create('/tmp/query',fmCreate) do
try try
CopyFrom(M,0); CopyFrom(M,0);
M.Position:=0; M.Position:=0;
Finally Finally
Free; Free;
end; end;}
CT:=ContentType; CT:=ContentType;
if Pos('MULTIPART/FORM-DATA',Uppercase(CT))<>0 then if Pos('MULTIPART/FORM-DATA',Uppercase(CT))<>0 then
ProcessMultiPart(M,CT) ProcessMultiPart(M,CT)