Results 254 comments of Khafra
trafficstars

It's also weird that using .then/.catch would solve the issue because await uses the Promise prototype methods under the hood.

I have a working parser that just needs tests written before a PR (no code used from other parsers which should help with license issues), although tests keep stalling tap...

> It needs to be a streaming client - the code in busboy shows more or less how complex that is. Might be interesting to try implementing it using async...

I think I can do that, although using formidable/busboy/dicer, etc, is probably a better choice in this situation. The fetch spec does require parsing formdata responses though

I think with a bodySent property it could be left to the user to use your package... although that might not be the greatest UX?

Exposing the ReadableStream body can be done like so (not cloned) ```diff diff --git a/lib/core/request.js b/lib/core/request.js index f04fe4f..8bbe4e7 100644 --- a/lib/core/request.js +++ b/lib/core/request.js @@ -216,7 +216,10 @@ class Request {...

Found a much better way to do this, I'll make a PR soon to see what you think.

I think there should also be some warning that this behavior can change at any times; once (or if - file uris have been left to the implementation for years...

I would prefer to leave this to https://github.com/wintercg/fetch/issues/4 instead of implementing a non-spec compliant solution.