Officialize the 308 redirect RFC
This commit is contained in:
parent
b85c68d38a
commit
9834670d18
@ -41,7 +41,7 @@ class Response
|
|||||||
const HTTP_USE_PROXY = 305;
|
const HTTP_USE_PROXY = 305;
|
||||||
const HTTP_RESERVED = 306;
|
const HTTP_RESERVED = 306;
|
||||||
const HTTP_TEMPORARY_REDIRECT = 307;
|
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_BAD_REQUEST = 400;
|
||||||
const HTTP_UNAUTHORIZED = 401;
|
const HTTP_UNAUTHORIZED = 401;
|
||||||
const HTTP_PAYMENT_REQUIRED = 402;
|
const HTTP_PAYMENT_REQUIRED = 402;
|
||||||
@ -144,7 +144,7 @@ class Response
|
|||||||
305 => 'Use Proxy',
|
305 => 'Use Proxy',
|
||||||
306 => 'Reserved',
|
306 => 'Reserved',
|
||||||
307 => 'Temporary Redirect',
|
307 => 'Temporary Redirect',
|
||||||
308 => 'Permanent Redirect', // RFC-reschke-http-status-308-07
|
308 => 'Permanent Redirect', // RFC7238
|
||||||
400 => 'Bad Request',
|
400 => 'Bad Request',
|
||||||
401 => 'Unauthorized',
|
401 => 'Unauthorized',
|
||||||
402 => 'Payment Required',
|
402 => 'Payment Required',
|
||||||
|
Reference in New Issue
Block a user