- From: Yutaka Hirano <notifications@github.com>
- Date: Wed, 03 Feb 2021 08:13:47 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 3 February 2021 16:13:59 UTC
@yutakahirano commented on this pull request. > @@ -3834,9 +3834,32 @@ optional <i>CORS-preflight flag</i>, run these steps: <p>If <var>request</var>'s <a>service-workers mode</a> is "<code>all</code>", then: <ol> + <li><p>Assert: <var>request</var> 's <a for=request>body</a> is either null or a + <a for=/>body</a>. + + <li> + <p>Let <var>savedBody</var> be a copy of <var>request</var>'s <a for=request>body</a>. The clone() logic runs in the service worker, so in order to make the request work we need to make the service worker alive until the end-of-stream. That is not desirable, given the developer chose the network fallback option. -- 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/pull/1144#discussion_r569545048
Received on Wednesday, 3 February 2021 16:13:59 UTC