          Return a list of all the formats that this view can render.
          """
          return [renderer.format for renderer in self.get_renderers()]
  
      @property
      def _default_renderer(self):
          """
          Return the view's default renderer class.
          """
          return self.get_renderers()[0]
  
      @property
      def headers(self):
          """
          Dictionary of headers to set on the response.
          This is useful when the response doesn't exist yet, but you
          want to memorize some headers to set on it when it will exist.
          """
          if not hasattr(self, '_headers'):
              self._headers = {}
          return self._headers
  
  
  ########## Auth Mixin ##########
  
  class AuthMixin(object):
      """
 
</s> remove         request_class = self.get_request_class()
        return request_class(self.request)
 </s> add         parsers = self.get_parsers()
        request = self.request_class(request, parsers=parsers)
        self.request = request
        return request

    @property
    def _parsed_media_types(self):
        """
        Return a list of all the media types that this view can parse.
        """
        return [p.media_type for p in self.parser_classes] </s> remove #TODO: In RequestMixin and ResponseMixin : get_response_class/get_request_class are a bit ugly. Do we even want to be able to set the parameters on the view ?
 </s> add  </s> remove     parsers = ()
    """
    The set of parsers that the request can handle.

    Should be a tuple/list of classes as described in the :mod:`parsers` module.
    """

    def __init__(self, request):
        # this allows to "copy" a request object into a new instance
        # of our custom request class.

        # First, we prepare the attributes to copy.
        attrs_dict = request.__dict__.copy()
        attrs_dict.pop('method', None)
        attrs_dict['_raw_method'] = request.method

        # Then, put them in the instance's own __dict__
        self.__dict__ = attrs_dict
 </s> add     def __init__(self, request=None, parsers=None):
        """
        `parsers` is a list/tuple of parser instances and represents the set of psrsers
        that the response can handle.
        """
        self.request = request
        if parsers is not None:
            self.parsers = parsers </s> remove         Prepares the response for the response cycle. This has no effect if the 
        response is not an instance of :class:`response.Response`.
 </s> add         Prepares the response for the response cycle, and returns the prepared response. 
        This has no effect if the response is not an instance of :class:`response.Response`.
          Return a list of all the formats that this view can render.
          """
          return [renderer.format for renderer in self.get_renderers()]
  


















  
  ########## Auth Mixin ##########
  
  class AuthMixin(object):
      """
keep keep keep keep replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace keep keep keep keep keep
 cleaned Request/Response/mixins to have similar interface 
djangorestframework/mixins.py