TypeScript API Documentation for LIBSOUP
API Version: 3.0
Library Version: 3.6.6
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
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.
unacceptable
null
a header value
a GLib.SList of acceptable values (as allocated strings), highest-qvalue first.
Parses a header whose content is a list of items with optional "qvalue"s (eg, Accept, Accept-Charset, Accept-Encoding, Accept-Language, TE).
If
unacceptableis notnull, then on return, it will contain the items with qvalue 0. Either way, those items will be removed from the main list.