THTTPHeader.LoadFromStrings function
Loads HTTP headers from a string list
Declaration
function LoadFromStrings(Strings: TStrings; IncludeCommand: Boolean)
: Integer; virtualArguments
Strings | String list containing HTTP header lines |
IncludeCommand | Whether to include the command line in parsing |
Function result
True if headers were loaded successfully
Description
LoadFromStrings parses HTTP header data from a string list and populates the header fields.
Each string in the list represents a header line in standard HTTP format.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
