Re: [fetch] Proposed backward-incompatible change: requiring cloning all requests/responses (#61)

I deleted (1) of https://github.com/whatwg/fetch/issues/61#issuecomment-115109366. To align with the `.offset` idea, a `Request`/`Response` with an empty body shouldn't be marked as used by `fetch()`, `cache.put()`, etc. But when it's a developer-controlled `ReadableByteStream` (or even one obtained from `onfetch` event may also have unknown length body), we cannot determine synchronously whether the final length is empty or not at the point when we call `new Request()`.

This means that we cannot correctly mark a `Request`/`Response` used on `new Request()` based on the idea that at least one byte has been read from the stream.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/61#issuecomment-115153165

Received on Thursday, 25 June 2015 07:53:58 UTC