header_parse_quality_list


Description:


public SList<string> header_parse_quality_list (string header, out SList<string> unacceptable)

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.

Parameters:

header

a header value

unacceptable

on return, will contain a list of unacceptable values

Returns:

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


Namespace: Soup
Package: libsoup-2.4