Snoopy: revert cr-lf patch, breaks http auth
This commit is contained in:
parent
c578051527
commit
3f663e1be8
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue