Re: [whatwg/fetch] Explain CORS protocol and credentials interaction (#293)

> + <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
> +/* &hellip; */</pre>
> +
> + <p>Nowadays, <code title>fetch("./", { credentials:"include" }).then(/* &hellip; */)</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