Symfony2 : header won’t change in download controller

Sooner or late you have to add file download option to your symfony2 project. As many times before I have been created controller just for that. But something went wrong, file was interpreted as text by browser instead as file for download. Continue reading Symfony2 : header won’t change in download controller