From fa99fbd7cf8b4283662ea39e025487c75d528098 Mon Sep 17 00:00:00 2001 From: dasmfm <2@borisklimenko.ru> Date: Wed, 27 Apr 2016 11:40:10 +0300 Subject: [PATCH] Update HTTP statuses list --- src/Symfony/Component/HttpFoundation/Response.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Symfony/Component/HttpFoundation/Response.php b/src/Symfony/Component/HttpFoundation/Response.php index 37e9c9f057..f50bc875e8 100644 --- a/src/Symfony/Component/HttpFoundation/Response.php +++ b/src/Symfony/Component/HttpFoundation/Response.php @@ -53,7 +53,7 @@ class Response * * The list of codes is complete according to the * {@link http://www.iana.org/assignments/http-status-codes/ Hypertext Transfer Protocol (HTTP) Status Code Registry} - * (last updated 2012-02-13). + * (last updated 2016-03-01). * * Unless otherwise noted, the status code is defined in RFC2616. * @@ -101,6 +101,7 @@ class Response 416 => 'Requested Range Not Satisfiable', 417 => 'Expectation Failed', 418 => 'I\'m a teapot', // RFC2324 + 421 => 'Misdirected Request', // RFC7540 422 => 'Unprocessable Entity', // RFC4918 423 => 'Locked', // RFC4918 424 => 'Failed Dependency', // RFC4918