Re: [whatwg/fetch] bodyUsed don't gets set properly (#396)

That is confusing... I think bodyUsed should be set to true when you call getReader...

rs = new ReadableStream()
res = new Response(rs)
res.body.getReader()
console.log(res.bodyUsed) // false
res.text() // TypeError: Already read


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/396#issuecomment-252687096

Received on Monday, 10 October 2016 17:32:43 UTC