def test_head_method_serializes_no_content(self):
        resp = self.client.head('/')
        self.assertEqual(resp.status_code, DUMMYSTATUS)
        self.assertEqual(resp['Content-Type'], RendererA.media_type + '; charset=utf-8')
        self.assertEqual(resp.content, six.b(''))
No response must be included in HEAD requests.
dataset/ETHPy150Open tomchristie/django-rest-framework/tests/test_response.py/RendererIntegrationTests.test_head_method_serializes_no_content