minor #11075 Officialize the 308 redirect RFC (Seldaek)
This PR was submitted for the master branch but it was merged into the 2.4 branch instead (closes #11075).
Discussion
----------
Officialize the 308 redirect RFC
Commits
-------
9834670
Officialize the 308 redirect RFC
This commit is contained in:
commit
157aabd893
@ -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',
|
||||
|
Reference in New Issue
Block a user