summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorftwbzhao <b.zhao1@gmail.com>2015-04-14 05:19:38 +0200
committerftwbzhao <b.zhao1@gmail.com>2015-04-14 05:19:38 +0200
commit2b7a97c55eb7e2797cea0ee39a96996a80c43f27 (patch)
treeb8ad1c87b3f28b2aa19509eddc353dd25961cf13
parentebfc48a9ee05dbd96a372894ab65f6287fe6c398 (diff)
Status Code Definitions
-rw-r--r--system/core/Common.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/core/Common.php b/system/core/Common.php
index a96828e96..a81e45500 100644
--- a/system/core/Common.php
+++ b/system/core/Common.php
@@ -506,6 +506,9 @@ if ( ! function_exists('set_status_header'))
{
is_int($code) OR $code = (int) $code;
$stati = array(
+ 100 => 'Continue',
+ 101 => 'Switching Protocols',
+
200 => 'OK',
201 => 'Created',
202 => 'Accepted',
@@ -524,6 +527,7 @@ if ( ! function_exists('set_status_header'))
400 => 'Bad Request',
401 => 'Unauthorized',
+ 402 => 'Payment Required',
403 => 'Forbidden',
404 => 'Not Found',
405 => 'Method Not Allowed',