[ServiceWorker] what should Cache put operations do if the body errors out after resolving promise? (#665)

The spec text now says in Batch Cache Operations:

  The cache commit is allowed as long as the response's headers are available.

So the body would stream to disk in the background after promise resolved.

What should Cache do if there is a network error while writing the body?  Just truncate the body?  Remove the entry?

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/665

Received on Friday, 27 March 2015 16:07:42 UTC