Internet Direct (Indy) Version 9.0.1 Beta
|
property Accept: string;
Accept is composed of the media type, subtype, and optional parameters. The asterisk "*" character is used to group media types into ranges, with "*/*" indicating all media types and "type/*" indicating all subtypes of that type.
Each media type and subtype may include one or more parameters, beginning with the "q" parameter that indicates the relative quality factor. Quality factors allow the user agent to determine the relative degree of preference for that media type and subtype, using the qvalue scale from 0 to 1. The default value is q=1.
Accept is updated in the ProcessHeaders method. Accept is used in SetHeaders to read the header values for the request.
The default value for Accept is set to 'text/html, */*' when the Clear method is called.