UNDO: Snoopy: remove unneeded crlf from raw headers
This commit is contained in:
parent
521d593af2
commit
c578051527
|
@ -506,7 +506,7 @@ class Snoopy
|
||||||
if(!is_array($this->rawheaders))
|
if(!is_array($this->rawheaders))
|
||||||
$this->rawheaders = (array)$this->rawheaders;
|
$this->rawheaders = (array)$this->rawheaders;
|
||||||
while(list($headerKey,$headerVal) = each($this->rawheaders))
|
while(list($headerKey,$headerVal) = each($this->rawheaders))
|
||||||
$headers .= $headerKey.": ".$headerVal;
|
$headers .= $headerKey.": ".$headerVal."\r\n";
|
||||||
}
|
}
|
||||||
if(!empty($content_type)) {
|
if(!empty($content_type)) {
|
||||||
$headers .= "Content-type: $content_type";
|
$headers .= "Content-type: $content_type";
|
||||||
|
|
Loading…
Reference in New Issue