'Check the value of HTTP headers returned in a response'

def test_response_headers(self):

    response = self.client.get('/test_client/header_view/')
    self.assertEqual(response['X-DJANGO-TEST'], 'Slartibartfast')
