[TASK] add missing "HTTP/1.1 308 Permanent Redirect" to HttpUtility 67/56367/2
authorStephan Jorek <stephan.jorek@gmail.com>
Mon, 19 Mar 2018 15:31:45 +0000 (16:31 +0100)
committerBenni Mack <benni@typo3.org>
Tue, 20 Mar 2018 19:01:26 +0000 (20:01 +0100)
Add the missing "HTTP/1.1 308 Permanent Redirect" http-status header
to \TYPO3\CMS\Core\Utility\HttpUtility as a class-constant, complementing
the existing http-redirect related status headers.

Resolves: #84481
Releases: master, 8.7
Change-Id: I203c9e33351be5eed03c62578a5cc72676113509
Reviewed-on: https://review.typo3.org/56367
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Classes/Utility/HttpUtility.php

index 4adf855..4eeff31 100644 (file)
@@ -36,6 +36,7 @@ class HttpUtility
     const HTTP_STATUS_304 = 'HTTP/1.1 304 Not Modified';
     const HTTP_STATUS_305 = 'HTTP/1.1 305 Use Proxy';
     const HTTP_STATUS_307 = 'HTTP/1.1 307 Temporary Redirect';
+    const HTTP_STATUS_308 = 'HTTP/1.1 308 Permanent Redirect';
     const HTTP_STATUS_400 = 'HTTP/1.1 400 Bad Request';
     const HTTP_STATUS_401 = 'HTTP/1.1 401 Unauthorized';
     const HTTP_STATUS_402 = 'HTTP/1.1 402 Payment Required';