From df8952f2a35cdf1fcaaf2329aa37716106416c66 Mon Sep 17 00:00:00 2001 From: Andrew Carter Date: Mon, 21 Dec 2015 16:05:25 +0000 Subject: [PATCH] Added 451 status code --- src/Symfony/Component/HttpFoundation/Response.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Symfony/Component/HttpFoundation/Response.php b/src/Symfony/Component/HttpFoundation/Response.php index 65d435ba5d..c65ceb7163 100644 --- a/src/Symfony/Component/HttpFoundation/Response.php +++ b/src/Symfony/Component/HttpFoundation/Response.php @@ -109,6 +109,7 @@ class Response 428 => 'Precondition Required', // RFC6585 429 => 'Too Many Requests', // RFC6585 431 => 'Request Header Fields Too Large', // RFC6585 + 451 => 'Unavailable For Legal Reasons', 500 => 'Internal Server Error', 501 => 'Not Implemented', 502 => 'Bad Gateway',