diff --git a/addon/web/client/src/utils.ts b/addon/web/client/src/utils.ts index 2865a13..359981c 100644 --- a/addon/web/client/src/utils.ts +++ b/addon/web/client/src/utils.ts @@ -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/.test(payload.header['Content-Type'].join('')) + return /text|javascript|json|x-www-form-urlencoded|xml/.test(payload.header['Content-Type'].join('')) } export const getSize = (len: number) => {