header_contains


Description:


public bool header_contains (string header, string token)

Parses header to see if it contains the token token (matched case-insensitively).

Note that this can't be used with lists that have qvalues.

Parameters:

header

An HTTP header suitable for parsing with [func@header_parse_list]

token

a token

Returns:

whether or not header contains token


Namespace: Soup
Package: libsoup-3.0