summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-10-11 15:00:57 +0200
committerAndrey Andreev <narf@devilix.net>2016-10-11 15:00:57 +0200
commitf2f6d8a70ca35930da798c1e2da134c810a17158 (patch)
tree76b16600e9430f134aa907f26a4096d4e0833163 /system/core
parent5e22caa8d00165a63999cd828739f71758fba4e2 (diff)
[ci skip] Add new HTTP status codes
https://tools.ietf.org/html/rfc2817 https://tools.ietf.org/html/rfc6585 Requested in #4835
Diffstat (limited to 'system/core')
-rw-r--r--system/core/Common.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/system/core/Common.php b/system/core/Common.php
index 2c7651943..257763dd3 100644
--- a/system/core/Common.php
+++ b/system/core/Common.php
@@ -544,13 +544,18 @@ if ( ! function_exists('set_status_header'))
416 => 'Requested Range Not Satisfiable',
417 => 'Expectation Failed',
422 => 'Unprocessable Entity',
+ 426 => 'Upgrade Required',
+ 428 => 'Precondition Required',
+ 429 => 'Too Many Requests',
+ 431 => 'Request Header Fields Too Large',
500 => 'Internal Server Error',
501 => 'Not Implemented',
502 => 'Bad Gateway',
503 => 'Service Unavailable',
504 => 'Gateway Timeout',
- 505 => 'HTTP Version Not Supported'
+ 505 => 'HTTP Version Not Supported',
+ 511 => 'Network Authentication Required',
);
if (isset($stati[$code]))