Using the Symfony2 StreamResponse


In case you were wondering what to use the StreamedResponse for in symfony2. It’s very useful for streaming large files. Here is an example.