修复 text/plain body 格式化

This commit is contained in:
whyour 2024-04-16 14:06:32 +08:00
parent 510534ee0c
commit 6ca28190b0

View File

@ -1407,6 +1407,7 @@ function formatBodyFun(contentType, body) {
case 'multipart/form-data': case 'multipart/form-data':
return { form: body }; return { form: body };
case 'application/x-www-form-urlencoded': case 'application/x-www-form-urlencoded':
case 'text/plain':
return { body }; return { body };
} }
return {}; return {};