  
  # TODO: remove raw_content/cleaned_content and just use content?
  
  class Response(object):
      """An HttpResponse that may include content that hasn't yet been serialized."""
      def __init__(self, status=200, content=None, headers={}):
          self.status = status
          self.has_content_body = content is not None
          self.raw_content = content      # content prior to filtering
          self.cleaned_content = content  # content after filtering
 
</s> remove __all__ =['Response', 'ErrorResponse']
 </s> add __all__ = ('Response', 'ErrorResponse') </s> remove     """An exception representing an HttpResponse that should be returned immediately."""
 </s> add     """
    An exception representing an Response that should be returned immediately.
    Any content should be serialized as-is, without being filtered.
    """
 </s> remove         """Get the content as if it had been rendered by a non-documenting renderer.
 </s> add         """
        Get the content as if it had been rendered by a non-documenting renderer. </s> remove         """Return reason text corresponding to our HTTP response status code.
        Provided for convenience."""
 </s> add         """
        Return reason text corresponding to our HTTP response status code.
        Provided for convenience.
        """ </s> remove             'resource': self.view,
            'request': self.view.request,
 </s> add             'resource': self.view,        # TODO: rename to view
            'request': self.view.request, # TODO: remove
    """
    An HttpResponse that may include content that hasn't yet been serialized.
    """

  
  # TODO: remove raw_content/cleaned_content and just use content?
  
  class Response(object):
    """
    An HttpResponse that may include content that hasn't yet been serialized.
    """

      def __init__(self, status=200, content=None, headers={}):
          self.status = status
          self.has_content_body = content is not None
          self.raw_content = content      # content prior to filtering
          self.cleaned_content = content  # content after filtering
keep keep keep keep replace keep keep keep keep keep
 More tests, getting new serialization into resource 
djangorestframework/response.py