- From: meacer <notifications@github.com>
- Date: Thu, 29 Jun 2023 16:29:39 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 29 June 2023 23:29:45 UTC
@meacer commented on this pull request. > +</ol> + +<h4 id=https-upgrades-fallback>Fallback algorithm</h4> + +To <dfn>HTTPS upgrade fallback</dfn> given a <a for=/>request</a> +<var>request</var> and <a for=/>response</a> <var>response</var>, run these steps: + +<ol> + <li><p>If <var>request</var>'s <code>https-upgrade</code> flag is not set, the <var>request</var> + was not upgraded. Return <var>response</var>. + + <li> + <p>Otherwise, the request was upgraded. + + <p>If <var>response</var> is a network error, the upgrade failed. Initiate a fallback + load by creating a synthetic redirect response <var>fallbackResponse</var> that redirects to Split this into individual steps, but the wording is the same. Can you say more? Is the "return a Response object" referring to the fallbackResponse? -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1655#discussion_r1247257091 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1655/review/1506251157@github.com>
Received on Thursday, 29 June 2023 23:29:45 UTC