From 811398627620ae9ec1d6e52c2893daefbdb8b240 Mon Sep 17 00:00:00 2001 From: Alexander Demidov Date: Tue, 10 Sep 2013 16:55:14 +0400 Subject: [PATCH] Add to ErrorHTTPException support code 401. --- exception/ErrorHTTPException.php | 1 + 1 file changed, 1 insertion(+) diff --git a/exception/ErrorHTTPException.php b/exception/ErrorHTTPException.php index 0a52257..c104092 100644 --- a/exception/ErrorHTTPException.php +++ b/exception/ErrorHTTPException.php @@ -15,6 +15,7 @@ class ErrorHTTPException extends GeneralException { $this->http_headers = array( 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', 403 => 'HTTP/1.0 403 Forbidden', 404 => 'HTTP/1.0 404 Not Found',