Function

Soup-3.0Soupheader_contains

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

      An HTTP header suitable for parsing with header_parse_list

    • token: string

      a token

    Returns boolean

    whether or not header contains token