      def dispatch(self, request, *args, **kwargs):
          self.request = request
          self.args = args
          self.kwargs = kwargs
          self.headers = {}
  
          try:
              # Get a custom request, built form the original request instance
              self.request = request = self.get_request()
  
 
</s> remove             self.initial(request, *args, **kwargs)
 </s> add             # `initial` is the opportunity to temper with the request, 
            # even completely replace it.
            self.request = request = self.initial(request, *args, **kwargs) </s> remove                 return {'FILE_NAME': self.CONTENT['file'].name,
                        'FILE_CONTENT': self.CONTENT['file'].read()}
 </s> add                 return Response({'FILE_NAME': self.CONTENT['file'].name,
                        'FILE_CONTENT': self.CONTENT['file'].read()}) </s> remove         self.raw_content = content      # content prior to filtering
        self.cleaned_content = content  # content after filtering
        self.headers = headers or {}
 </s> add         self.request = request
        if renderers is not None:
            self.renderers = renderers
        # TODO: must go
        self.view = None

    # TODO: wrap this behavior around dispatch(), ensuring it works
    # out of the box with existing Django classes that use render_to_response.
    @property
    def rendered_content(self):
        """
        """
        renderer, media_type = self._determine_renderer()
        # TODO: renderer *could* override media_type in .render() if required.

        # Set the media type of the response
        self['Content-Type'] = renderer.media_type

        # Render the response content
        if self.has_content_body:
            return renderer.render(self.raw_content, media_type)
        return renderer.render() </s> remove         except ErrorResponse, exc:
            response = exc.response
 </s> add         except ErrorResponse, response:
            # Prepare response for the response cycle.
            self.prepare_response(response) </s> remove         response_obj = {
 </s> add         content = {
      def dispatch(self, request, *args, **kwargs):
          self.request = request
          self.args = args
          self.kwargs = kwargs

  
          try:
              # Get a custom request, built form the original request instance
              self.request = request = self.get_request()
  
keep keep keep keep replace keep keep keep keep keep
 Response as a subclass of HttpResponse - first draft, not quite there yet. 
djangorestframework/views.py