- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 30 Aug 2017 07:53:00 +0000 (UTC)
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 30 August 2017 07:53:23 UTC
I'd write `safe_fetch` as:
```
function safe_fetch(input, init) {
const tempRequest = new Request(input, init);
return fetch(tempRequest, { credentials: "omit" });
}
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/585#issuecomment-325912190
Received on Wednesday, 30 August 2017 07:53:23 UTC