Skip to content

Commit 1b6f7c6

Browse files
Seldaekfabpot
authored andcommitted
Officialize the 308 redirect RFC
1 parent d11199a commit 1b6f7c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Response.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class Response
4141
const HTTP_USE_PROXY = 305;
4242
const HTTP_RESERVED = 306;
4343
const HTTP_TEMPORARY_REDIRECT = 307;
44-
const HTTP_PERMANENTLY_REDIRECT = 308; // RFC-reschke-http-status-308-07
44+
const HTTP_PERMANENTLY_REDIRECT = 308; // RFC7238
4545
const HTTP_BAD_REQUEST = 400;
4646
const HTTP_UNAUTHORIZED = 401;
4747
const HTTP_PAYMENT_REQUIRED = 402;
@@ -144,7 +144,7 @@ class Response
144144
305 => 'Use Proxy',
145145
306 => 'Reserved',
146146
307 => 'Temporary Redirect',
147-
308 => 'Permanent Redirect', // RFC-reschke-http-status-308-07
147+
308 => 'Permanent Redirect', // RFC7238
148148
400 => 'Bad Request',
149149
401 => 'Unauthorized',
150150
402 => 'Payment Required',

0 commit comments

Comments
 (0)