THTTPHeader.ParseContentType function
Parses a content type header value
Declaration
class function ParseContentType(const AContentType: string;
Parameters: TStrings): stringArguments
AContentType | Content type string to parse |
Parameters | String list to receive content type parameters |
Function result
Main content type without parameters
Description
ParseContentType analyzes a Content-Type header value and extracts the main type and parameters.
This utility method helps process content type information from HTTP headers.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
