]> git.wh0rd.org - tt-rss.git/commitdiff
UNDO: Snoopy: remove unneeded crlf from raw headers
authorAndrew Dolgov <fox@madoka.spb.ru>
Wed, 25 Oct 2006 02:06:06 +0000 (03:06 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Wed, 25 Oct 2006 02:06:06 +0000 (03:06 +0100)
magpierss/extlib/Snoopy.class.inc

index 2cf7858272ed310c7fbbe9b7ad91f699877e73c0..080e694a6f4c28e997970825374066bc6de90e11 100644 (file)
@@ -506,7 +506,7 @@ class Snoopy
                        if(!is_array($this->rawheaders))
                                $this->rawheaders = (array)$this->rawheaders;
                        while(list($headerKey,$headerVal) = each($this->rawheaders))
-                               $headers .= $headerKey.": ".$headerVal;
+                               $headers .= $headerKey.": ".$headerVal."\r\n";
                }
                if(!empty($content_type)) {
                        $headers .= "Content-type: $content_type";