Re: [whatwg/fetch] Make fetch() use "same-origin" credentials by default (#585)

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