  """
  
  from django.http import HttpRequest
  
  from djangorestframework.response import ErrorResponse
  from djangorestframework import status
  from djangorestframework.utils.mediatypes import is_form_media_type, order_by_precedence
  from djangorestframework.utils import as_tuple
  
  from StringIO import StringIO
 
</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 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 Response, ErrorResponse
 </s> add from djangorestframework.response import Response, ImmediateResponse
from djangorestframework.response import ImmediateResponse
  """
  
  from django.http import HttpRequest
  
from djangorestframework.response import ImmediateResponse
  from djangorestframework import status
  from djangorestframework.utils.mediatypes import is_form_media_type, order_by_precedence
  from djangorestframework.utils import as_tuple
  
  from StringIO import StringIO
keep keep keep keep replace keep keep keep keep keep
 cleaned a bit Response/ResponseMixin code, added some documentation + renamed ErrorResponse to ImmediateResponse 
djangorestframework/request.py