summaryrefslogtreecommitdiff
path: root/lib/httpclient.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-10-22 16:20:56 -0400
committerEvan Prodromou <evan@status.net>2009-10-22 16:20:56 -0400
commit65c45986c68709f6e8e981381c35ee1a2468544a (patch)
treef4b8d035cfeddf9118ed980104ac9602363ed895 /lib/httpclient.php
parent4e639b8769f42e700b9ad3abe5564ddb0178501c (diff)
HTTPResponse has default empty headers
Diffstat (limited to 'lib/httpclient.php')
-rw-r--r--lib/httpclient.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/httpclient.php b/lib/httpclient.php
index c8c8ae5b2..f16e31e10 100644
--- a/lib/httpclient.php
+++ b/lib/httpclient.php
@@ -48,7 +48,7 @@ if (!defined('STATUSNET')) {
class HTTPResponse
{
public $code = null;
- public $headers = null;
+ public $headers = array();
public $body = null;
}