From b4e134980967258ae283f828fcf3fd309f29f298 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Sat, 28 Jul 2018 06:10:38 +0700 Subject: [PATCH] add 425 status code --- system/HTTP/Response.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system/HTTP/Response.php b/system/HTTP/Response.php index 19ecf588e7d0..2276b7fa37c2 100644 --- a/system/HTTP/Response.php +++ b/system/HTTP/Response.php @@ -121,7 +121,8 @@ class Response extends Message implements ResponseInterface 421 => 'Misdirected Request', // http://www.iana.org/go/rfc7540 Section 9.1.2 422 => 'Unprocessable Entity', // http://www.iana.org/go/rfc4918 423 => 'Locked', // http://www.iana.org/go/rfc4918 - 424 => 'Failed Dependency', // http://www.iana.org/go/rfc4918 + 424 => 'Failed Dependency', // http://www.iana.org/go/rfc4918 + 425 => 'Too Early', // https://datatracker.ietf.org/doc/draft-ietf-httpbis-replay/ 426 => 'Upgrade Required', 428 => 'Precondition Required', // 1.1; http://www.ietf.org/rfc/rfc6585.txt 429 => 'Too Many Requests', // 1.1; http://www.ietf.org/rfc/rfc6585.txt