diff options
author | Evan Prodromou <evan@status.net> | 2009-09-15 22:05:57 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-09-15 22:05:57 -0400 |
commit | f8a8c14b550a3ac3a4b3a17c53559056f70409b2 (patch) | |
tree | 56147658c45caa20f780c87dd519b48a96ae65b8 /lib/curlclient.php | |
parent | 6b7f09eba675679d5ea84ed33e85fa9d5c62a30d (diff) |
fix user-agent for curlclient
Diffstat (limited to 'lib/curlclient.php')
-rw-r--r-- | lib/curlclient.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/curlclient.php b/lib/curlclient.php index f45c3c2f4..99c3b6aa4 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)); } |