Function

Soup-3.0Soupheader_parse_quality_list

  • 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: string

      a header value

    Returns [string[], string[]]

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