def test_consistent_origin_concat(self):

        resp = self.get('/test_existing_vary_headers', origin="http://foo.com")
        self.assertEqual(set(resp.headers.getlist('Vary')),
                         set(['Origin', 'Accept-Encoding']))
A non-existent flatpage raises 404 when served through a view, even when the middleware is in use
dataset/ETHPy150Open corydolphin/flask-cors/tests/decorator/test_vary_header.py/VaryHeaderTestCase.test_consistent_origin_concat--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/contrib/flatpages/tests/middleware.py/FlatpageMiddlewareTests.test_view_non_existent_flatpage