  from django.test import Client, TestCase
  
  from django.utils import simplejson as json
  
  from djangorestframework.views import View
  from djangorestframework import permissions
  
  import base64
  
 
</s> remove from djangorestframework.compat import View as DjangoView
 </s> add  </s> remove from djangorestframework import status
 </s> add from djangorestframework.response import Response
from django.http import HttpResponse
  from django.test import Client, TestCase
  
  from django.utils import simplejson as json
from django.http import HttpResponse
  
  from djangorestframework.views import View
  from djangorestframework import permissions
  
  import base64
  
keep keep add keep keep keep keep keep keep
 Response as a subclass of HttpResponse - first draft, not quite there yet. 
djangorestframework/tests/authentication.py