Open litepl opened 5 years ago
For now, I've created a workaround with view redirect to the other controller with the same code and it works.
I cannot find a place, where FosRestController returns those LFs, but the strange thing I noticed is when I used curl without -L to follow redirect, there where also double LFs returned.
Regards,
Lukasz
If you could create a small example application that allows to reproduce your issue, we could probably try to debug the issue.
Hi,
I have a strange problem. My FOSRestBundle API works great until I want do send BinaryFileResponse directly from FOSRestController based class. It adds double LF in the beginning (but size is not changed !). When I do it from "normal/common" controller, everything works.
Example code:
Exactly the same code called from non-api controller works...
Where I have made a mistake ?
Regards,
Lukasz