- From: Michael[tm] Smith <notifications@github.com>
- Date: Sat, 27 Feb 2021 03:18:38 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 27 February 2021 11:18:50 UTC
@sideshowbarker commented on this pull request.
> @@ -5887,7 +5887,10 @@ object), initially null.
<dt>{{RequestInit/credentials}}
<dd>A string indicating whether credentials will be sent with the request always, never, or only
- when sent to a same-origin URL. Sets <var>request</var>'s {{Request/credentials}}.
+ when sent to a same-origin URL — as well as whether any credentials sent back in the response
+ will be used always, never, or only when received from a same-origin URL. Sets
+ <var>request</var>'s {{Request/credentials}}. If {{RequestInit/credentials}} is unspecified, the
+ <a>credentials mode</a> for <var>request</var> defaults to "<code>same-origin</code>".
> It's only the default if _input_ is a string (otherwise it would end up overriding the credentials mode).
OK, pushed another commit which corrects the text to state that
--
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/1178#discussion_r584108568
Received on Saturday, 27 February 2021 11:18:50 UTC