def test_if_there_is_charset_specified_on_renderer_it_gets_appended(self):
        headers = {"HTTP_ACCEPT": RendererC.media_type}
        resp = self.client.get('/', **headers)
        expected = "{0}; charset={1}".format(RendererC.media_type, RendererC.charset)
        self.assertEqual(expected, resp['Content-Type'])
If renderer class has charset attribute declared, it gets appended
dataset/ETHPy150Open tomchristie/django-rest-framework/tests/test_response.py/Issue807Tests.test_if_there_is_charset_specified_on_renderer_it_gets_appended