1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-28 12:10:52 +02:00

Snoopy: remove unneeded crlf from raw headers

This commit is contained in:
Andrew Dolgov 2006-10-25 03:06:06 +01:00
parent aff31ecf88
commit 521d593af2

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."\r\n";
$headers .= $headerKey.": ".$headerVal;
}
if(!empty($content_type)) {
$headers .= "Content-type: $content_type";