
PHP >= 5.4 provides a built-in function to generate valid HTTP error header including the error description: http_response_code() See: http://php.net/manual/en/function.http-response-code.php See also: https://stackoverflow.com/a/12018482 This commit removes the '\Http' utility class and replaces all calls to 'Http::getMessageForCode()' by 'http_response_code()'