

def test_consistent_origin(self):
    '\n            If the Access-Control-Allow-Origin header will change dynamically,\n            the Vary:Origin header should be set.\n        '
    for resp in self.iter_responses('/test_consistent_origin', origin='http://foo.com'):
        self.assertFalse(('Vary' in self.headers))

dataset/ETHPy150Open corydolphin/flask-cors/tests/decorator/test_vary_header.py VaryHeaderTestCase.test_consistent_origin/VarMisuse@35/100 `resp`->`self`