Merge pull request #4039 from jacobbuck/httpresponse-isfinished-status

Add more 3xx status codes to SS_HTTPResponse::isFinished() method
This commit is contained in:
Daniel Hensby 2015-03-31 21:21:00 +01:00
commit 060c550d75

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