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

def test_response_headers(self):

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