I have a Controller which generates a text/html BinaryFileResponse: $response = new BinaryFileResponse($temp_file); $response->headers->set('Content-Type', 'text/html'); $response->setContentDisposition(ResponseHeaderBag::DISPOSITION_ATTACHMENT, $filename); $response->setPrivate(); ...
from Google Alert - anonymous http://ift.tt/2jkU9t4
via IFTTT
No comments:
Post a Comment