Ver Fonte

* Fix to fill in Accept HTTP header (By Mark van Ham, bug #25621)

git-svn-id: trunk@26585 -
michael há 11 anos atrás
pai
commit
92187d7045
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      packages/fcl-web/src/base/httpdefs.pp

+ 1 - 1
packages/fcl-web/src/base/httpdefs.pp

@@ -883,7 +883,7 @@ end;
 Procedure THttpHeader.SetFieldValue(Index : Integer; Value : String);
 
 begin
-  if (Index>1) and (Index<=NoHTTPFields) then
+  if (Index>=1) and (Index<=NoHTTPFields) then
     begin
     FFields[Index]:=Value;
     If (Index=11) then