-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
I upgraded a symfony 2 application (which uses the PdfBundle) to 3 recently.
Since the upgrade the bundle doesn't send the correct Content-Type header anymore. it sends "text/html", when I expect "application/pdf".
It is fixable with the annotation header
/*
* @Pdf(
* headers={"Content-Type":"application/pdf"}
* )
*/
But this shouldn't be a solution in the first place.
I tested it on on several webservers (Apache/Nginx/PHP).
Any idea what is causing this? Looking at recent commits there is nothing that seems like the cause. Is it something on Symfony's end?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels