      """
  
      def get_request_class(self):
          """
          Returns a subclass of Django's `HttpRequest` with a richer API,
          as described in :mod:`request`.
          """
          if not hasattr(self, '_request_class'):
              self._request_class = request_class_factory(self.request)
              self._request_class._USE_FORM_OVERLOADING = self._USE_FORM_OVERLOADING
              self._request_class._METHOD_PARAM = self._METHOD_PARAM
 
</s> remove         if not hasattr(self, '_request_class'):
            self._request_class = request_class_factory(self.request)
            self._request_class._USE_FORM_OVERLOADING = self._USE_FORM_OVERLOADING
            self._request_class._METHOD_PARAM = self._METHOD_PARAM
            self._request_class._CONTENTTYPE_PARAM = self._CONTENTTYPE_PARAM
            self._request_class._CONTENT_PARAM = self._CONTENT_PARAM
            self._request_class.parsers = self.parsers
        return self._request_class
 </s> add         if not hasattr(self, '_parsers'):
            self._parsers = [r(self) for r in self.parser_classes]
        return self._parsers </s> remove     def get_request_class(self):
 </s> add     request_class = Request
    """
    The class to use as a wrapper for the original request object.
    """

    def get_parsers(self): </s> remove def request_class_factory(request):
    """
    Builds and returns a request class, to be used as a replacement of Django's built-in.
    
    In fact :class:`request.Request` needs to be mixed-in with a subclass of `HttpRequest` for use,
    and we cannot do that before knowing which subclass of `HttpRequest` is used. So this function
    takes a request instance as only argument, and returns a properly mixed-in request class.
    """
    request_class = type(request)
    return type(request_class.__name__, (Request, request_class), {})


 </s> add  </s> remove     The set of parsers that the request can handle.
 </s> add     The set of parsers that the view can handle. </s> remove     def get_request(self):
 </s> add     def prepare_request(self, request):
        Instantiates and returns the list of parsers that will be used by the request
        to parse its content.
      """
  
      def get_request_class(self):
          """
        Instantiates and returns the list of parsers that will be used by the request
        to parse its content.
        Instantiates and returns the list of parsers that will be used by the request
        to parse its content.
          """
          if not hasattr(self, '_request_class'):
              self._request_class = request_class_factory(self.request)
              self._request_class._USE_FORM_OVERLOADING = self._USE_FORM_OVERLOADING
              self._request_class._METHOD_PARAM = self._METHOD_PARAM
keep keep keep keep replace replace keep keep keep keep keep
 cleaned Request/Response/mixins to have similar interface 
djangorestframework/mixins.py