- From: Ben Kelly <notifications@github.com>
- Date: Tue, 28 Jul 2015 07:29:20 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Tuesday, 28 July 2015 14:29:51 UTC
If we want to eventually support fixed length content for streams like this it might be nice to let the stream specialize for it. The internal source could provide a "total length" getter that the stream can then expose. So things like file streams and fixed-string streams could then expose their total length. Fetch could then just DTRT if the total length is available. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/95#issuecomment-125627446
Received on Tuesday, 28 July 2015 14:29:51 UTC