Skip to content

Commit

Permalink
Merge branch 'isredirect-308'
Browse files Browse the repository at this point in the history
Closes #56
  • Loading branch information
akrabat committed Sep 8, 2018
2 parents 46f409a + da55902 commit 3151643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ public function isSuccessful()
*/
public function isRedirect()
{
return in_array($this->getStatusCode(), [301, 302, 303, 307]);
return in_array($this->getStatusCode(), [301, 302, 303, 307, 308]);
}

/**
Expand Down

0 comments on commit 3151643

Please sign in to comment.