  from djangorestframework.utils import MSIE_USER_AGENT_REGEX
  from djangorestframework import status
  
  
  __all__ = ('Response', 'ErrorResponse')
  
  
  class Response(SimpleTemplateResponse):
      """
      An HttpResponse that may include content that hasn't yet been serialized.
 
</s> remove from djangorestframework.response import ErrorResponse
 </s> add from djangorestframework.response import ImmediateResponse </s> remove from djangorestframework.response import ErrorResponse
 </s> add from djangorestframework.response import ImmediateResponse </s> remove from djangorestframework.response import Response, ErrorResponse
 </s> add from djangorestframework.response import Response, ImmediateResponse </s> remove from djangorestframework.response import ErrorResponse
 </s> add from djangorestframework.response import ImmediateResponse </s> remove from djangorestframework.response import ErrorResponse
 </s> add from djangorestframework.response import ImmediateResponse
__all__ = ('Response', 'ImmediateResponse')
  from djangorestframework.utils import MSIE_USER_AGENT_REGEX
  from djangorestframework import status
  
  
__all__ = ('Response', 'ImmediateResponse')
  
  
  class Response(SimpleTemplateResponse):
      """
      An HttpResponse that may include content that hasn't yet been serialized.
keep keep keep keep replace keep keep keep keep keep
 cleaned a bit Response/ResponseMixin code, added some documentation + renamed ErrorResponse to ImmediateResponse 
djangorestframework/response.py