diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2016-11-24 22:09:28 +0100 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2016-11-24 22:09:28 +0100 |
| commit | 9928b96a20f17fe532dd0ac26914f83cbe34867a (patch) | |
| tree | 4873023bc93a6776c8075272b4a4f3bffbebd042 /src/phinde/HttpRequest.php | |
| parent | f98e891b454e5677bdf61f476e366b01af713b50 (diff) | |
| download | phinde-9928b96a20f17fe532dd0ac26914f83cbe34867a.tar.gz phinde-9928b96a20f17fe532dd0ac26914f83cbe34867a.zip | |
websub subcriptions work
Diffstat (limited to 'src/phinde/HttpRequest.php')
| -rw-r--r-- | src/phinde/HttpRequest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/phinde/HttpRequest.php b/src/phinde/HttpRequest.php index e68bd84..4635973 100644 --- a/src/phinde/HttpRequest.php +++ b/src/phinde/HttpRequest.php @@ -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); |
