- From: Nikhil Marathe <notifications@github.com>
- Date: Fri, 13 Mar 2015 11:47:26 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Friday, 13 March 2015 18:47:52 UTC
I'm not qualified to comment on if it is appropriate or not to do something like:
```js
// serviceworker.js
onfetch = function(e) {
e.respondWith(fetch(e.request).then(function(response) {
response.headers.append("Reply-from-SW", "yes");
return response;
})
}
```
but from talking with @annevk on IRC, it seems this is not ok.
---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/24
Received on Friday, 13 March 2015 18:47:52 UTC