Skip to content

Commit e170b99

Browse files
committed
handle redirects directly instead of letting curl do it
1 parent cee91ea commit e170b99

File tree

13 files changed

+566
-69
lines changed

13 files changed

+566
-69
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
namespace Aternos\CurlPsr\Exception;
4+
5+
use Exception;
6+
7+
class RequestRedirectedException extends Exception
8+
{
9+
10+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
3+
namespace Aternos\CurlPsr\Exception;
4+
5+
class TooManyRedirectsException extends RequestException
6+
{
7+
8+
}

0 commit comments

Comments
 (0)