* Do not send headers before setting content, as content-length will be set by setting the content.

git-svn-id: trunk@17596 -
This commit is contained in:
michael 2011-05-28 09:17:30 +00:00
parent 0fb7ad5a07
commit 63f6b66d0f

View File

@ -270,10 +270,9 @@ begin
R.SendContent;
Exit;
end;
If not R.HeadersSent then
If (not R.HeadersSent) then
begin
R.ContentType:='text/html';
R.SendHeaders;
end;
If (R.ContentType='text/html') then
begin