- From: Domenic Denicola <notifications@github.com>
- Date: Tue, 03 May 2016 11:05:58 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc:
Received on Tuesday, 3 May 2016 18:06:43 UTC
> + <p>In the old days, <code data-anolis-spec=xhr>XMLHttpRequest</code> could be used to set
> + <span title=concept-request>request</span>'s
> + <span title=concept-request-credentials-mode>credentials mode</span> to "<code>include</code>":
> +
> + <pre>var client = new XMLHttpRequest()
> +client.open("GET", "./")
> +client.withCredentials = true
> +/* … */</pre>
> +
> + <p>Nowadays, <code title>fetch("./", { credentials:"include" }).then(/* … */)</code>
> + suffices.
> +</div>
> +
> +<p><span title=concept-request>Request</span>'s
> +<span title=concept-request-credentials-mode>credentials mode</span> is not necessarily observable
> +on the server, only when <span>credentials</span> exist for
s/,/;/
---
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/293/files/3c18527f11f87f44765b624c1152fe739204d783#r61927360
Received on Tuesday, 3 May 2016 18:06:43 UTC