diff --git a/src/Sikofitt/Controller/ResumeControllerProvider.php b/src/Sikofitt/Controller/ResumeControllerProvider.php index 5fc57ae..c9772e1 100644 --- a/src/Sikofitt/Controller/ResumeControllerProvider.php +++ b/src/Sikofitt/Controller/ResumeControllerProvider.php @@ -91,7 +91,9 @@ class ResumeControllerProvider implements ControllerProviderInterface ResponseHeaderBag::DISPOSITION_ATTACHMENT, $filename . '.pdf' ); + $response->headers->set('Content-Type', 'application/pdf'); $response->headers->set('Content-Disposition', $disposition); + $response->send(); });