Use own HttpRequest class so we get get our own user agent
[phinde.git] / src / phinde / HubUrlExtractor.php
index a7f38a0..81a612c 100644 (file)
@@ -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);
         }