ServiceWorker Cache does not support partial responses |
||||
Issue descriptionVersion: 55.0.2863.0 What steps will reproduce the problem? (1) Create or acquire a Response object "response" with status code 206 (2) Call cache.put(request, response) What is the expected output? The returned promise resolves successfully and the Response is added to the cache. What do you see instead? The promise is rejected with a TypeError "Partial response (status code 206) is unsupported". https://cs.chromium.org/chromium/src/third_party/WebKit/Source/modules/cachestorage/Cache.cpp?q=%22Partial+response+(status+code+206)+is+unsupported%22 Compatibility info: The operation succeeds in Firefox. Firefox's behaviour is consistent with the spec: https://www.w3.org/TR/service-workers/#cache-put
,
Sep 29 2016
This is working as intended according to https://github.com/w3c/ServiceWorker/issues/937 but just hasn't been added to the spec yet. Apparently it's going to be "fixed" in Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1264181
,
Sep 30 2016
,
Sep 30 2016
|
||||
►
Sign in to add a comment |
||||
Comment 1 Deleted