From 9834670d1829e89fec4342617cdc5225736c454a Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sat, 7 Jun 2014 13:26:56 +0200 Subject: [PATCH] Officialize the 308 redirect RFC --- src/Symfony/Component/HttpFoundation/Response.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/HttpFoundation/Response.php b/src/Symfony/Component/HttpFoundation/Response.php index eeec855b82..cbbc7a9fca 100644 --- a/src/Symfony/Component/HttpFoundation/Response.php +++ b/src/Symfony/Component/HttpFoundation/Response.php @@ -41,7 +41,7 @@ class Response const HTTP_USE_PROXY = 305; const HTTP_RESERVED = 306; const HTTP_TEMPORARY_REDIRECT = 307; - const HTTP_PERMANENTLY_REDIRECT = 308; // RFC-reschke-http-status-308-07 + const HTTP_PERMANENTLY_REDIRECT = 308; // RFC7238 const HTTP_BAD_REQUEST = 400; const HTTP_UNAUTHORIZED = 401; const HTTP_PAYMENT_REQUIRED = 402; @@ -144,7 +144,7 @@ class Response 305 => 'Use Proxy', 306 => 'Reserved', 307 => 'Temporary Redirect', - 308 => 'Permanent Redirect', // RFC-reschke-http-status-308-07 + 308 => 'Permanent Redirect', // RFC7238 400 => 'Bad Request', 401 => 'Unauthorized', 402 => 'Payment Required',