Ignore:
Timestamp:
Nov 21, 2010, 8:49:46 AM (14 years ago)
Author:
george
Message:
  • Upraveno: Zbylé výskyty TStringListEx nahrazeny TListString a TDictionaryStringString.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebServer/UHTTPServerTCP.pas

    r32 r42  
    66
    77uses
    8   Classes, SysUtils, UHTTPServer, UTCPServer, UStringListEx, SynaUtil;
     8  Classes, SysUtils, UHTTPServer, UTCPServer, SpecializedList, SynaUtil;
    99
    1010type
     
    3030  Line: string;
    3131  LineIndex: Integer;
    32   LineParts: TStringListEx;
     32  LineParts: TListString;
    3333  HandlerData: THTTPHandlerData;
    3434  I: Integer;
     
    4646      LineIndex := 0;
    4747      try
    48         LineParts := TStringListEx.Create;
     48        LineParts := TListString.Create;
    4949        repeat
    5050          Line := RecvString(10000);
    5151          if (LineIndex = 0) then begin
    52             LineParts.Explode(' ', Line);
     52            LineParts.Explode(Line, ' ', StrToStr);
    5353            if (LineParts.Count >= 3) then begin
    5454              Request.Method := LineParts[0];
     
    5959            end;
    6060          end else begin
    61             LineParts.Explode(' ', Line, 2);
     61            LineParts.Explode(Line, ' ', StrToStr, 2);
    6262            if (LineParts.Count = 2) and (LineParts[0][Length(LineParts[0])] = ':') then begin
    6363              LineParts[0] := Copy(LineParts[0], 1, Length(LineParts[0]) - 1);
Note: See TracChangeset for help on using the changeset viewer.