]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
HTTPResponse has default empty headers
authorEvan Prodromou <evan@status.net>
Thu, 22 Oct 2009 20:20:56 +0000 (16:20 -0400)
committerEvan Prodromou <evan@status.net>
Thu, 22 Oct 2009 20:20:56 +0000 (16:20 -0400)
lib/httpclient.php

index c8c8ae5b261d3c946b5d49e7679f76f8b57af75f..f16e31e1037c76dbba9c5d4dbb756fd920a4a88a 100644 (file)
@@ -48,7 +48,7 @@ if (!defined('STATUSNET')) {
 class HTTPResponse
 {
     public $code = null;
-    public $headers = null;
+    public $headers = array();
     public $body = null;
 }