From 987deda95db412aae1e7982676711cc04369db9b Mon Sep 17 00:00:00 2001 From: net909 Date: Thu, 10 Jul 2025 16:41:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common.php b/app/common.php index f573bae..b2f43b4 100644 --- a/app/common.php +++ b/app/common.php @@ -452,7 +452,7 @@ function http_request($url, $data = null, $referer = null, $cookie = null, $head } else if (is_array($data) || is_object($data)) { if ($options['headers']['X-Content-Type'] == 'multipart/form-data') { // 表单文件 - unset($options['headers']['X-Content-Type']) + unset($options['headers']['X-Content-Type']); $options['multipart'] = $data; } else { if (!isset($options['headers']['Content-Type'])) {