Open ernestostifano opened 3 months ago
It is not possible to send a request using multipart/form-data. In other words, requests containing a FormData instance will fail if using the http-middleware, throwing the following error:
multipart/form-data
FormData
http-middleware
TypeError: Failed to parse body as FormData.
Cross-referencing PR with a potential solution: https://github.com/mswjs/http-middleware/pull/39
It is not possible to send a request using
multipart/form-data
. In other words, requests containing aFormData
instance will fail if using thehttp-middleware
, throwing the following error: