

def test_consistent_origin_concat(self):
    '\n            If Flask-Cors adds a Vary header and there is already a Vary\n            header set, the headers should be combined and comma-separated.\n        '
    resp = self.get('/test_existing_vary_headers', origin='http://foo.com')
    self.assertEqual(set(self.headers.getlist('Vary')), set(['Origin', 'Accept-Encoding']))

dataset/ETHPy150Open corydolphin/flask-cors/tests/decorator/test_vary_header.py VaryHeaderTestCase.test_consistent_origin_concat/VarMisuse@31/109 `resp`->`self`