symfony/symfony — pull request #9281 by xabbuh (2013-10-12 08:07:48+00:00)
Title: allow to create an empty BinaryFileResponse

| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |

The static ``create()`` method allows for calls without any parameters. These calls lead to a ``FileNotFoundException`` stating that `The file "" does not exist`.