'Tests that we\'re properly setting the Vary header to ensure browser requests don\'t get
cached in a way that breaks XHR requests to the same asset.'

def test_vary_header_sent(self):

    resp = self.client.get(self.url_unlocked)
    self.assertEqual(resp.status_code, 200)
    self.assertEquals('Origin', resp['Vary'])
