正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -283,7 +283,7 @@ class Body { | @@ -283,7 +283,7 @@ class Body { | ||
| 283 | $type = $this->preg_match_type($item); | 283 | $type = $this->preg_match_type($item); | 
| 284 | if($type){ | 284 | if($type){ | 
| 285 | $data['type'] = strtolower($type['type']); | 285 | $data['type'] = strtolower($type['type']); | 
| 286 | -// $data['type'] = trim(ltrim($data['type'],"content-type:")); | 286 | + $data['type'] = str_replace(["content-type:",' '],'',$data['type']); | 
| 287 | // 编码 | 287 | // 编码 | 
| 288 | if(isset($type['charset'])){ | 288 | if(isset($type['charset'])){ | 
| 289 | $data['charset'] = strtolower($type['charset']); | 289 | $data['charset'] = strtolower($type['charset']); | 
- 
请 注册 或 登录 后发表评论