You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know how it got this way, but it needs to be fixed.
It's not even clear to me that we need an actual runtime Body object. It's not something in the DOM. It's more of an internal interface to describe Request and Response. Likely there should be zero "class Body" in our code.
The text was updated successfully, but these errors were encountered:
Correct, according to the spec, it is just a logical interface. It shouldn't exist as a thing. Looking at the current implementation though, it is going to be a bit of a challenge to unpick.
As I mentioned directly Ry, I am doing a re-write of the streams. Once that is done, it feels like this needs a good hose-down as well.
deno/cli/js/web/body.ts
Line 120 in cb5dd69
deno/cli/js/web/fetch.ts
Line 31 in cb5dd69
I don't know how it got this way, but it needs to be fixed.
It's not even clear to me that we need an actual runtime Body object. It's not something in the DOM. It's more of an internal interface to describe Request and Response. Likely there should be zero "class Body" in our code.
The text was updated successfully, but these errors were encountered: