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

@jungkees thats how it used to work, but I thought we changed it.  I thought this note in BatchCacheOperations meant the UA could resolve the add/addAll/put promise before the body was complete:

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

Or are you saying we commit to Cache, so other cache.Match() calls will find the partial response, but we still don't resolve the add/addAll/put promise when we commit to the Cache?  That sounds confusing from an API perspective to me...

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

Received on Friday, 3 April 2015 14:17:45 UTC