- From: Takeshi Yoshino <notifications@github.com>
- Date: Tue, 20 Jan 2015 22:54:09 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Wednesday, 21 January 2015 06:54:35 UTC
Exhaustive list of actions and events to consider. Actions we can take that interacts with the stream of a Response are: - `stream.read()` - `res.text()` - `respondWith(res)` - `res.clone()` - `new Response(res)` - `cache.put(res)` Events that may happen on a Response's stream are: - `stream.read()` - called and returned empty ArrayBuffer - called and returned non-empty ArrayBuffer - `res.text()` - called and is reading the stream - called and has finished reading the stream contents - read nothing - read at least 1 byte (i.e. the stream was not empty) - `respondWith(res)` - ... same as above ... - `res.clone()` - ... same as above ... - `new Response(res)` - ... same as above ... - `cache.put(res)` - ... same as above ... --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/452#issuecomment-70792637
Received on Wednesday, 21 January 2015 06:54:35 UTC