symfony/symfony — pull request #4956 by romainneutron (2012-07-17 20:18:49+00:00)
Title: [HttpKernel] Revert automatic response statusCode setting in the exception handler

Revert symfony/HttpKernel@538a38c4919a982c1f68ad129178a0e3bb78a4c5 as it disable response code tweaking in a `KernelEvents::EXCEPTION` listener

For example Silex is using this event for error handling ([see line 354-386](https://github.com/fabpot/Silex/blob/master/src/Silex/Application.php#L354)), and as described in fabpot/Silex#438, Response statusCode tweak in a such error handler could be very usefull.

Comments welcome.