]> git.wh0rd.org Git - tt-rss.git/commitdiff
UNDO: Snoopy: revert cr-lf patch, breaks http auth
authorAndrew Dolgov <fox@madoka.spb.ru>
Wed, 25 Oct 2006 03:55:59 +0000 (04:55 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Wed, 25 Oct 2006 03:55:59 +0000 (04:55 +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";