def _remove_all_parameter(query_string, *args):
    """
    Removes all occurrences of a key (or a list of keys, separated by a comma) and its values
    """
    parameters = []
    if query_string:
        for p in query_string.split('&'):
            k, v = p.split('=')
            if k not in args:
                parameters.append('{0}={1}'.format(k, v))
    return '?%s' % '&'.join(parameters)