Skip to content

Commit 36f716c

Browse files
committed
308 is a redirect - ref slimphp/Slim#2434
1 parent 987b9cf commit 36f716c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Response.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ public function isSuccessful()
388388
*/
389389
public function isRedirect()
390390
{
391-
return in_array($this->getStatusCode(), [301, 302, 303, 307]);
391+
return in_array($this->getStatusCode(), [301, 302, 303, 307, 308]);
392392
}
393393

394394
/**

0 commit comments

Comments
 (0)