'Test client headers are preserved through redirects'

def test_client_headers_redirect(self):

    response = self.client.get(u'/test_client_regress/check_headers_redirect/', follow=True, HTTP_X_ARG_CHECK=u'Testing    123')
    self.assertEqual(response.content, 'HTTP_X_ARG_CHECK:    Testing    123')
    self.assertRedirects(response, u'/test_client_regress/check_headers/', status_code=301, target_status_code=200)
