def get(self, request):
        
        path = request.GET.get('path')
        size = request.GET.get('size')
        
        thumbnail = get_path_or_create(path.strip(settings.MEDIA_URL), size, path.strip(settings.MEDIA_URL)[:-len(path.split("/")[-1])])

        # Return html code width status.HTTP_200_OK
        response = Response(status.HTTP_200_OK, {"thumbnail": "%s%s" % (settings.MEDIA_URL, thumbnail)})
        return self.render(response)
dataset/ETHPy150Open ionyse/ionyweb/ionyweb/administration/views/file_manager.py/FileManagerThumbnailFile.get/original