- From: Matt Falkenhagen <notifications@github.com>
- Date: Sun, 26 Jul 2015 19:00:31 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Monday, 27 July 2015 02:01:06 UTC
That looks perfect, I just didn't notice #80
To be clear, the way this usecase would be solved is something like:
```javascript
onfetch = function(e) {
r = e.request;
e.respondWith(fetch(new Request(r.url, {method: r.method, headers: r.headers, ..., referrer: r.referrer, referrerPolicy: r.referrerPolicy));
}
```
right? And maybe copying of r.body if it exists.
---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/89#issuecomment-125060569
Received on Monday, 27 July 2015 02:01:06 UTC