作者 邓超

es

... ... @@ -268,7 +268,11 @@ class Body {
$name = '';
foreach ($header as $head){
// 判断是否是上一行的
if(str_starts_with($head,' ') || str_starts_with($head,"\t")){
if(
str_starts_with($head,' ') ||
str_starts_with($head,"\t") ||
!str_contains($head, ':')
){
$data->set($name,' '.$head,true);
}else{
list($name,$value) = explode(":",$head,2);
... ...