aboutsummaryrefslogtreecommitdiff
path: root/src/phinde
diff options
context:
space:
mode:
Diffstat (limited to 'src/phinde')
-rw-r--r--src/phinde/HubUrlExtractor.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/phinde/HubUrlExtractor.php b/src/phinde/HubUrlExtractor.php
index a7f38a0..81a612c 100644
--- a/src/phinde/HubUrlExtractor.php
+++ b/src/phinde/HubUrlExtractor.php
@@ -196,8 +196,7 @@ class HubUrlExtractor
public function getRequest()
{
if ($this->request === null) {
- $request = new \HTTP_Request2();
- $request->setConfig('follow_redirects', true);
+ $request = new HttpRequest();
$this->setRequestTemplate($request);
}