Add more 3xx status codes to SS_HTTPResponse::isFinished method

This commit is contained in:
Jacob Buck 2015-03-26 11:48:24 +13:00
parent a4388f923b
commit 03ec9e80f0

View File

@ -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));
} }
} }