public function renderTemporaryAction()
    {
        $name = $this->getRequest()->get('name');
        $fileManager = $this->container->get('thrace_media.filemanager');
        $content = $fileManager->getTemporaryFileBlobByName($name);
        
        $response = new Response($content);        
        $response->headers->set('Accept-Ranges', 'bytes');
        $response->headers->set('Content-Length', mb_strlen($content));
        $response->headers->set('Content-Type', $this->getMimeType($content));
        $response->expire();
    
        return $response;
    }