Martin Jaskulla

Results 3 comments of Martin Jaskulla

How about providing a token/constant? ```ts server.use( rest.get('/foo', (_req, res, ctx) => { return res.once(NETWORK_ERROR); }) ); ``` or an error without throwing? ```ts server.use( rest.get('/foo', (_req, res, ctx) =>...

In a way @chentsulin's issue is not limited to just `FormData` or `File`. Similar issues might occur for other body types: ```ts type BodyInit = Blob | BufferSource | FormData...

Makes sense. `ctx.fetch` seems like a much better place for this check. Also easier to unit test. Will take a look tomorrow evening.