Merge pull request #7495 from nathanbrauer/patch-1

Adding 308 HTTP Response as n redirect code
This commit is contained in:
Damian Mooyman 2017-10-19 14:44:41 +13:00 committed by GitHub
commit 87371ecb4c

View File

@ -35,6 +35,7 @@ class HTTPResponse
304 => 'Not Modified',
305 => 'Use Proxy',
307 => 'Temporary Redirect',
308 => 'Permanent Redirect',
400 => 'Bad Request',
401 => 'Unauthorized',
403 => 'Forbidden',
@ -71,7 +72,8 @@ class HTTPResponse
303,
304,
305,
307
307,
308
);
/**