Fix EZP-20287: Error code in legacy not sent to the symfony stack
Merge pull request #608 from ezsystems/ezp-20287_http_error_code

Fix EZP-20287: Error code in legacy not sent to the symfony stack