          return Response(status=status.HTTP_500_INTERNAL_SERVER_ERROR)
  
  urlpatterns = [
      url(r'^$', MockView.as_view()),
      url(r'^upload/$', FileUploadView.as_view())
  ]
  
 
</s> remove         '2001-01-01T13:00Z': datetime.datetime(2001, 1, 1, 13, 00, tzinfo=utc)
 </s> add         '2001-01-01T13:00Z': datetime.datetime(2001, 1, 1, 13, 00, tzinfo=utc),
class FileUploadView(APIView):
    def post(self, request):
        filenames = [file.temporary_file_path() for file in request.FILES.values()]

        for filename in filenames:
            assert os.path.exists(filename)

        return Response(status=status.HTTP_200_OK, data=filenames)


          return Response(status=status.HTTP_500_INTERNAL_SERVER_ERROR)
  
class FileUploadView(APIView):
    def post(self, request):
        filenames = [file.temporary_file_path() for file in request.FILES.values()]

        for filename in filenames:
            assert os.path.exists(filename)

        return Response(status=status.HTTP_200_OK, data=filenames)


  urlpatterns = [
      url(r'^$', MockView.as_view()),
      url(r'^upload/$', FileUploadView.as_view())
  ]
  
keep add keep keep keep keep keep
 Ensure closables in request.FILES get closed. (#5262)

Ensure closables on `.FILES` get closed. 
tests/test_request.py