      def post(self, request):
          if request.POST.get('example') is not None:
              return Response(status=status.HTTP_200_OK)
  
          return Response(status=status.INTERNAL_SERVER_ERROR)
  
  urlpatterns = patterns(
      '',
      (r'^$', MockView.as_view()),
  )
 
</s> remove         with an appropraite 'WWW-Authenticate' header.
 </s> add         with an appropriate 'WWW-Authenticate' header. </s> remove         raise ImproperlyConfigured('Returned a template response with no `template_name` attribute set on either the view or response')
 </s> add         raise ImproperlyConfigured(
            'Returned a template response with no `template_name` attribute set on either the view or response'
        ) </s> remove         # types might return a non-primative value for the pk otherwise.
 </s> add         # types might return a non-primitive value for the pk otherwise. </s> remove         # `fields` is evalutated lazily. We do this to ensure that we don't
 </s> add         # `fields` is evaluated lazily. We do this to ensure that we don't </s> remove     def initialize_request(self, request, *args, **kargs):
 </s> add     def initialize_request(self, request, *args, **kwargs):
        return Response(status=status.HTTP_500_INTERNAL_SERVER_ERROR)
      def post(self, request):
          if request.POST.get('example') is not None:
              return Response(status=status.HTTP_200_OK)
  
        return Response(status=status.HTTP_500_INTERNAL_SERVER_ERROR)
  
  urlpatterns = patterns(
      '',
      (r'^$', MockView.as_view()),
  )
keep keep keep keep replace keep keep keep keep keep
 Removed unused imports, pep8 fixes, typo fixes 
tests/test_request.py