...
|
...
|
@@ -135,8 +135,8 @@ class Body { |
|
|
* @time 2024/9/21 9:51
|
|
|
*/
|
|
|
protected function parseItem(string $body) {
|
|
|
list($mime_header,$text) = explode("\r\n\r\n",trim($body),2);
|
|
|
|
|
|
list($mime_header,$text) = explode("\r\n\r\n",trim($body)."\r\n\r\n",2);
|
|
|
$text = trim($text);
|
|
|
// 解析头部
|
|
|
$data = $this->parseMimeHeader($mime_header);
|
|
|
|
...
|
...
|
|