  
      media_type = None
      format = None
  
      def __init__(self, view):
          self.view = view
  
      def can_handle_response(self, accept):
          """
          Returns :const:`True` if this renderer is able to deal with the given
 
</s> remove         # TODO: must go
        self.view = None
 </s> add  </s> remove     # TODO: wrap this behavior around dispatch(), ensuring it works
    # out of the box with existing Django classes that use render_to_response.
 </s> add  </s> remove # TODO: can't pass because view is a simple Django view and response is an ErrorResponse
#    def test_unsatisfiable_accept_header_on_request_returns_406_status(self):
#        """If the Accept header is unsatisfiable we should return a 406 Not Acceptable response."""
#        resp = self.client.get('/', HTTP_ACCEPT='foo/bar')
#        self.assertEquals(resp.status_code, status.HTTP_406_NOT_ACCEPTABLE)
 </s> add     @unittest.skip('can\'t pass because view is a simple Django view and response is an ImmediateResponse')
    def test_unsatisfiable_accept_header_on_request_returns_406_status(self):
        """If the Accept header is unsatisfiable we should return a 406 Not Acceptable response."""
        resp = self.client.get('/', HTTP_ACCEPT='foo/bar')
        self.assertEquals(resp.status_code, status.HTTP_406_NOT_ACCEPTABLE) </s> remove         Determines the appropriate renderer for the output, given the client's 'Accept' header,
 </s> add         Determines the appropriate renderer for the output, given the list of accepted media types, </s> remove         raise ErrorResponse(content=detail, status=400)
 </s> add         raise ImmediateResponse(content=detail, status=400)
    def __init__(self, view=None):
  
      media_type = None
      format = None
  
    def __init__(self, view=None):
          self.view = view
  
      def can_handle_response(self, accept):
          """
          Returns :const:`True` if this renderer is able to deal with the given
keep keep keep keep replace keep keep keep keep keep
 cleaned a bit Response/ResponseMixin code, added some documentation + renamed ErrorResponse to ImmediateResponse 
djangorestframework/renderers.py