1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-25 21:17:12 +00:00

UNDO: Snoopy: revert cr-lf patch, breaks http auth

This commit is contained in:
Andrew Dolgov
2006-10-25 04:55:59 +01:00
parent 3f663e1be8
commit ba5f89352f

View 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";