mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Add more 3xx status codes to SS_HTTPResponse::isFinished method
This commit is contained in:
parent
a4388f923b
commit
03ec9e80f0
@ -286,7 +286,7 @@ EOT
|
|||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function isFinished() {
|
public function isFinished() {
|
||||||
return in_array($this->statusCode, array(301, 302, 401, 403));
|
return in_array($this->statusCode, array(301, 302, 303, 304, 305, 307, 401, 403));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user