From: Evan Prodromou Date: Wed, 16 Sep 2009 02:05:57 +0000 (-0400) Subject: fix user-agent for curlclient X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f8a8c14b550a3ac3a4b3a17c53559056f70409b2;p=quix0rs-gnu-social.git fix user-agent for curlclient --- diff --git a/lib/curlclient.php b/lib/curlclient.php index f45c3c2f4a..99c3b6aa41 100644 --- a/lib/curlclient.php +++ b/lib/curlclient.php @@ -88,10 +88,14 @@ class CurlClient extends HTTPClient return $this->parseResults($result); } + function post($url, $headers=null) + { + } + function setup($ch) { curl_setopt_array($ch, - array(CURLOPT_USERAGENT, $this->userAgent(), + array(CURLOPT_USERAGENT => $this->userAgent(), CURLOPT_HEADER => true, CURLOPT_RETURNTRANSFER => true)); }