def get_rules(view):

    rules = view.settings().get("color_helper.scan", {})

    return rules if rules.get("enabled", False) else None
By default, allow all domains, which means the Vary:Origin header
dataset/ETHPy150Open facelessuser/ColorHelper/color_helper_util.py/get_rules--crossover with--dataset/ETHPy150Open corydolphin/flask-cors/tests/decorator/test_vary_header.py/VaryHeaderTestCase.test_default