          self.assertEqual(accepted_media_type, 'application/json')
  
      def test_client_overspecifies_accept_use_client(self):
          request = Request(factory.get('/', HTTP_ACCEPT='application/json; indent=8'))
          accepted_renderer, accepted_media_type = self.select_renderer(request)
          self.assertEqual(accepted_media_type, 'application/json; indent=8')
 
</s> remove         accepted_renderer, accepted_media_type = self.select_renderer(request)
 </s> add         accepted_renderer, accepted_media_type, charset = self.select_renderer(request) </s> remove         accepted_renderer, accepted_media_type = self.select_renderer(request)
 </s> add         accepted_renderer, accepted_media_type, charset = self.select_renderer(request) </s> remove                             return renderer, media_type
 </s> add                             renderer_and_media_type = renderer, media_type
                        if renderer.charset:
                            charset = renderer.charset
                        else:
                            charset = self.__class__.settings.DEFAULT_CHARSET
                        retval = renderer_and_media_type + (charset,)
                        return retval </s> remove         request.accepted_renderer, request.accepted_media_type = neg
 </s> add         renderer, media_type, charset = neg
        request.accepted_renderer = renderer
        request.accepted_media_type = media_type
        request.accepted_charset = charset </s> remove                             return renderer, renderer.media_type
 </s> add                             renderer_and_media_type = renderer, renderer.media_type
        accepted_renderer, accepted_media_type, charset = self.select_renderer(request)
          self.assertEqual(accepted_media_type, 'application/json')
  
      def test_client_overspecifies_accept_use_client(self):
          request = Request(factory.get('/', HTTP_ACCEPT='application/json; indent=8'))
        accepted_renderer, accepted_media_type, charset = self.select_renderer(request)
          self.assertEqual(accepted_media_type, 'application/json; indent=8')
keep keep keep keep replace keep
 charset param gets now appended to response's Content-Type. Closes #807 
rest_framework/tests/negotiation.py