header_parse_param_list


Description:

public HashTable<string,string> header_parse_param_list (string header)

Parses a header which is a comma-delimited list of something like: token [ "=" ( token | quoted-string ) ].

Tokens that don't have an associated value will still be added to the resulting hash table, but with a null value.

This also handles RFC5987 encoding (which in HTTP is mostly used for giving UTF8-encoded filenames in the Content-Disposition header).

Parameters:

header

a header value

Returns:

a GenericSet of list elements, which can be freed with header_free_param_list.


Namespace: Soup
Package: libsoup-2.4