- From: meacer <notifications@github.com>
- Date: Mon, 12 Jun 2023 18:33:14 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 13 June 2023 01:33:19 UTC
@meacer commented on this pull request. > + fallback request that shouldn't be upgraded again. Clear the <code>https-upgrade</code> and + <code>https-upgrade-fallback-url</code> flags and return <var>request</var>.</li> + + <li><p>Otherwise, upgrade the request by setting the following fields: + <ul> + <li>Set <code>https-upgrade-fallback-url</code> to request's URL</li> + <li>Set <var>request</var>'s URL's scheme to <code>"https"</code></li> + <li>Set <code>https-upgrade</code> flag to true</li> + </ul> + </li> +</ol> + +<h4 id=https-upgrades-fallback>Fallback algorithm</h4> + +<p>Runs after the Upgrade algorithm. This algorithm determines whether the upgraded +request completed without a network error. If not, it retries the request over <code>"http"</code>. Structured as <dfn> and reworded -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1655#discussion_r1227414669 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1655/review/1476077429@github.com>
Received on Tuesday, 13 June 2023 01:33:19 UTC