- From: Jake Archibald <notifications@github.com>
- Date: Wed, 01 Jul 2015 03:01:16 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Wednesday, 1 July 2015 10:01:44 UTC
@annevk the way I thought it worked was the new request's stream would be piping the stream of the request passed to its constructor. So: ```js var r1 = new Request(url, { body: stream }); var r2 = new Request(r1); ``` Both `r1` and `r2` would have separate streams. `r2` would read from `r1`'s stream to get the output for its stream. However, your model avoids the additional stream, which I guess is better as long as the transfer isn't confusing for developers. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/61#issuecomment-117575266
Received on Wednesday, 1 July 2015 10:01:44 UTC