From 6ca28190b09dcd145f78ccd409b95c401f744ff1 Mon Sep 17 00:00:00 2001 From: whyour Date: Tue, 16 Apr 2024 14:06:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20text/plain=20body=20?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sample/notify.js | 1 + 1 file changed, 1 insertion(+) diff --git a/sample/notify.js b/sample/notify.js index 9351cefe..0d587043 100644 --- a/sample/notify.js +++ b/sample/notify.js @@ -1407,6 +1407,7 @@ function formatBodyFun(contentType, body) { case 'multipart/form-data': return { form: body }; case 'application/x-www-form-urlencoded': + case 'text/plain': return { body }; } return {};