headerParseQualityList

Parses a header whose content is a list of items with optional "qvalue"s (eg, Accept, Accept-Charset, Accept-Encoding, Accept-Language, TE).

If unacceptable is not null, then on return, it will contain the items with qvalue 0. Either way, those items will be removed from the main list.

string[]
headerParseQualityList
(
string header
,
out string[] unacceptable
)

Parameters

header string

a header value

unacceptable string[]

on return, will contain a list of unacceptable values

Return Value

Type: string[]

a #GSList of acceptable values (as allocated strings), highest-qvalue first.