def parse_csv_string(s):
    """Parse a simple comma-separated tokens to a list of strings,
    as used in the qop parameter in Digest authentication.

    """
    return [x for x in (x.strip() for x in s.split(',')) if x != '']