From 65c45986c68709f6e8e981381c35ee1a2468544a Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 22 Oct 2009 16:20:56 -0400 Subject: [PATCH] HTTPResponse has default empty headers --- lib/httpclient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/httpclient.php b/lib/httpclient.php index c8c8ae5b26..f16e31e103 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; }