          class MockView(View):
              permissions = ()
  
              def get(self, request):
                  return {'a':1, 'b':2, 'c':3}
  
          self.req = RequestFactory()
          self.MockView = MockView
          self.view = MockView.as_view()
  
 
</s> remove         return Response(status.HTTP_201_CREATED, {'status': 'OK'})
 </s> add         return Response({'status': 'OK'}, status=status.HTTP_201_CREATED) </s> remove         return 'foo'
 </s> add         return Response('foo') </s> remove                 return {'FILE_NAME': self.CONTENT['file'].name,
                        'FILE_CONTENT': self.CONTENT['file'].read()}
 </s> add                 return Response({'FILE_NAME': self.CONTENT['file'].name,
                        'FILE_CONTENT': self.CONTENT['file'].read()}) </s> remove         return reverse('another')
 </s> add         return Response(reverse('another')) </s> remove         return {'a': 1, 'b': 2, 'c': 3}
 </s> add         return HttpResponse({'a': 1, 'b': 2, 'c': 3})
                return Response({'a':1, 'b':2, 'c':3})
          class MockView(View):
              permissions = ()
  
              def get(self, request):
                return Response({'a':1, 'b':2, 'c':3})
  
          self.req = RequestFactory()
          self.MockView = MockView
          self.view = MockView.as_view()
  
keep keep keep keep replace keep keep keep keep keep
 Response as a subclass of HttpResponse - first draft, not quite there yet. 
djangorestframework/tests/accept.py