mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 23:06:06 +08:00
修复 text/plain body 格式化
This commit is contained in:
parent
510534ee0c
commit
6ca28190b0
|
@ -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 {};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user