  from django.core.handlers.wsgi import STATUS_CODE_TEXT
  
  __all__ =['NoContent', 'Response', ]
  
  
  
  class NoContent(object):
      """Used to indicate no body in http response.
      (We cannot just use None, as that is a valid, serializable response object.)
      
      TODO: On reflection I'm going to get rid of this and just not support serialized 'None' responses.
      """
      pass
  
  
  class Response(object):
      def __init__(self, status=200, content=NoContent, headers={}):
          self.status = status
 
</s> remove     def __init__(self, status=200, content=NoContent, headers={}):
 </s> add     """An HttpResponse that may include content that hasn't yet been serialized."""
    def __init__(self, status=200, content=None, headers={}): </s> remove         self.has_content_body = not content is NoContent             # TODO: remove and just use content
        self.raw_content = content      # content prior to filtering - TODO: remove and just use content
        self.cleaned_content = content  # content after filtering      TODO: remove and just use content
 </s> add         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         On failure the ResponseException content is a dict which may contain 'errors' and 'field-errors' keys.
 </s> add         On failure the ErrorResponse content is a dict which may contain 'errors' and 'field-errors' keys. </s> remove class ResponseException(BaseException):
    def __init__(self, status, content=NoContent, headers={}):
 </s> add class ErrorResponse(BaseException):
    """An exception representing an HttpResponse that should be returned immediatley."""
    def __init__(self, status, content=None, headers={}):
__all__ =['Response', 'ErrorResponse']
  from django.core.handlers.wsgi import STATUS_CODE_TEXT
  
__all__ =['Response', 'ErrorResponse']
__all__ =['Response', 'ErrorResponse']
__all__ =['Response', 'ErrorResponse']
__all__ =['Response', 'ErrorResponse']
__all__ =['Response', 'ErrorResponse']
__all__ =['Response', 'ErrorResponse']
__all__ =['Response', 'ErrorResponse']
__all__ =['Response', 'ErrorResponse']
__all__ =['Response', 'ErrorResponse']
__all__ =['Response', 'ErrorResponse']
__all__ =['Response', 'ErrorResponse']
  
  
  class Response(object):
      def __init__(self, status=200, content=NoContent, headers={}):
          self.status = status
keep keep replace replace replace replace replace replace replace replace replace replace replace keep keep keep keep keep
 Rename mixins into Mixin class, rename ResponseException to ErrorResponse, remove NoContent 
djangorestframework/response.py