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

Yes, that's better.

On Wed, Aug 30, 2017 at 12:53 AM, Anne van Kesteren <
notifications@github.com> wrote:

> 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 commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/whatwg/fetch/pull/585#issuecomment-325912190>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/AeAEaN34lgLJX836Hcxw0clTLFTPsrCHks5sdRTcgaJpZM4PCWLF>
> .
>


-- 
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-326734491

Received on Saturday, 2 September 2017 09:55:34 UTC