Re: [w3c/ServiceWorker] What happens to the request body if the fetch isn't handled? (#1191)

> Well the UA could only transfer it at the point the service worker requests it.

How is that possible?  `Request.body` is synchronous.

In general I would expect a main thread `fetch()` to mark any `Request.body` disturbed immediately.  It would then read it at some rate based on consumption.  If a SW intercepts and is slow to consume, etc, then it may not be read quickly.  In theory it might be partially read and then closed if the SW decides not to consume it at all.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1191#issuecomment-326030716

Received on Wednesday, 30 August 2017 15:39:12 UTC