def METHOD_NAME(request_values, name, default=None):
    """ Helper to pop one param from a key-value list
    """
    for param_name, value in request_values:
        if param_name.lower() == name:
            request_values.remove((param_name, value))
            return value
    return default