websub subcriptions work
[phinde.git] / src / phinde / HttpRequest.php
index e68bd84de481c363ea4b9567f3b91c392698ac22..46359738f3f085a102fda0d757a9447efa584c1a 100644 (file)
@@ -3,9 +3,9 @@ namespace phinde;
 
 class HttpRequest extends \HTTP_Request2
 {
-    public function __construct($url)
+    public function __construct($url = null, $method = 'GET')
     {
-        parent::__construct($url);
+        parent::__construct($url, $method);
         $this->setConfig('follow_redirects', true);
         $this->setConfig('connect_timeout', 5);
         $this->setConfig('timeout', 10);