mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-16 04:50:51 +01:00
* Fix to fill in Accept HTTP header (By Mark van Ham, bug #25621)
git-svn-id: trunk@26585 -
This commit is contained in:
parent
0ea0b5c34d
commit
92187d7045
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user