- From: Mike West <notifications@github.com>
- Date: Thu, 10 Mar 2016 00:53:36 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Message-ID: <whatwg/fetch/pull/237/r55649078@github.com>
> @@ -4108,9 +4136,18 @@ <h3 id="request-class"><span class="secno">6.3 </span>Request class</h3> > <code title="">credentials</code> member if it is present, and > <var>fallbackCredentials</var> otherwise. > > - <li><p>If <var>credentials</var> is non-null, set <var>request</var>'s > - <a href="#concept-request-credentials-mode" title="concept-request-credentials-mode">credentials mode</a> to > - <var>credentials</var>. > + <li><p>If <var>credentials</var> is non-null: > + > + <ol> > + <li>If <var>credentials</var> is a > + <a href="https://w3c.github.io/webappsec-credential-management/#interfaces-credential-types-passwordcredential">PasswordCredential</a>, > + set <var>request</var>'s <a href="#concept-request-credentials-mode" title="concept-request-credentials-mode">credentials mode</a> to > + "<code title="">attached-credential</code>", and <var>request</var>'s > + <a href="#concept-request-attached-credential" title="concept-request-attached-credential">attached credential</a> to > What about redirects? Right. I forgot about those. Two options: * The existing spec sets the redirect mode to "error". We could do that here. * We could add custom logic for this new credential mode. The former is probably simpler. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/237/files#r55649078
Received on Thursday, 10 March 2016 08:54:16 UTC