can show form-data

addon-dailer
lqqyt2423 3 years ago
parent b2ba27f4c4
commit 2f338ec15b

@ -5,7 +5,7 @@ export const isTextBody = (payload: IRequest | IResponse) => {
if (!payload.header) return false
if (!payload.header['Content-Type']) return false
return /text|javascript|json|x-www-form-urlencoded|xml/.test(payload.header['Content-Type'].join(''))
return /text|javascript|json|x-www-form-urlencoded|xml|form-data/.test(payload.header['Content-Type'].join(''))
}
export const getSize = (len: number) => {

Loading…
Cancel
Save