Http status could be integrated with http://symfony.com/blog/new-in-symfony-2-4-using-constants-for-http-status-code