          self.assertEqual(resp.status_code, DUMMYSTATUS)
  
  
  _flat_repr = '{"foo": ["bar", "baz"]}'
  _indented_repr = '{\n  "foo": [\n    "bar",\n    "baz"\n  ]\n}'
  
  
 
</s>
    def test_204_no_content_responses_have_no_content_type_set(self):
        """
        Regression test for #1196

        https://github.com/tomchristie/django-rest-framework/issues/1196
        """
        resp = self.client.get('/empty')
        self.assertEqual(resp.get('Content-Type', None), None)
        self.assertEqual(resp.status_code, status.HTTP_204_NO_CONTENT)

          self.assertEqual(resp.status_code, DUMMYSTATUS)
  
    def test_204_no_content_responses_have_no_content_type_set(self):
        """
        Regression test for #1196

        https://github.com/tomchristie/django-rest-framework/issues/1196
        """
        resp = self.client.get('/empty')
        self.assertEqual(resp.get('Content-Type', None), None)
        self.assertEqual(resp.status_code, status.HTTP_204_NO_CONTENT)

  
  _flat_repr = '{"foo": ["bar", "baz"]}'
  _indented_repr = '{\n  "foo": [\n    "bar",\n    "baz"\n  ]\n}'
  
  
keep add keep keep keep keep keep
 Remove Content-Type header from empty responses. Fixes #1196
rest_framework/tests/test_renderers.py