mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #7495 from nathanbrauer/patch-1
Adding 308 HTTP Response as n redirect code
This commit is contained in:
commit
87371ecb4c
@ -35,6 +35,7 @@ class HTTPResponse
|
|||||||
304 => 'Not Modified',
|
304 => 'Not Modified',
|
||||||
305 => 'Use Proxy',
|
305 => 'Use Proxy',
|
||||||
307 => 'Temporary Redirect',
|
307 => 'Temporary Redirect',
|
||||||
|
308 => 'Permanent Redirect',
|
||||||
400 => 'Bad Request',
|
400 => 'Bad Request',
|
||||||
401 => 'Unauthorized',
|
401 => 'Unauthorized',
|
||||||
403 => 'Forbidden',
|
403 => 'Forbidden',
|
||||||
@ -71,7 +72,8 @@ class HTTPResponse
|
|||||||
303,
|
303,
|
||||||
304,
|
304,
|
||||||
305,
|
305,
|
||||||
307
|
307,
|
||||||
|
308
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user