diff options
author | Andrey Andreev <narf@devilix.net> | 2015-04-14 14:37:56 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-04-14 14:37:56 +0200 |
commit | 58efdd3e1380daa01e609098d0fcb88e56b2cf67 (patch) | |
tree | 062d17ebe43d25804c2231c115b3f0c8da49b9c3 | |
parent | c14aa9bcca4b5876f2bf46bbe9eb4c7d3e0e013a (diff) | |
parent | 2b7a97c55eb7e2797cea0ee39a96996a80c43f27 (diff) |
Merge pull request #3769 from ftwbzhao/develop
[ci skip] Support for status codes 100, 101, 402 in set_status_header()
-rw-r--r-- | system/core/Common.php | 4 |
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', |