Add to ErrorHTTPException support code 401.

This commit is contained in:
2013-09-10 16:55:14 +04:00
parent 10c68143cb
commit 8113986276

View File

@ -15,6 +15,7 @@ class ErrorHTTPException extends GeneralException
{ {
$this->http_headers = array( $this->http_headers = array(
400 => 'HTTP/1.0 400 Bad Request', 400 => 'HTTP/1.0 400 Bad Request',
401 => 'HTTP/1.0 400 Access allowed only for registered users',
402 => 'HTTP/1.0 402 Payment Required', 402 => 'HTTP/1.0 402 Payment Required',
403 => 'HTTP/1.0 403 Forbidden', 403 => 'HTTP/1.0 403 Forbidden',
404 => 'HTTP/1.0 404 Not Found', 404 => 'HTTP/1.0 404 Not Found',