- From: Chris Thompson <notifications@github.com>
- Date: Thu, 22 Jun 2023 09:38:39 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 22 June 2023 16:38:45 UTC
@christhompson commented on this pull request. > + <li><p>If <var>request</var>'s <code>https-upgrade-fallback-url</code> is non-null, this is a + fallback request that shouldn't be upgraded again. Clear the <code>https-upgrade</code> and + <code>https-upgrade-fallback-url</code> flags and return. + + <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>Set <var>request</var>'s URL's scheme to <code>"https"</code> + <li>Set <code>https-upgrade</code> flag to true + </ul> + </li> +</ol> + +<h4 id=https-upgrades-fallback>Fallback algorithm</h4> + +To <dfn>HTTPS upgrade fallback</dfn> given a <a for=/>request</a> Grammar/flow nit: "To run <dfn>HTTPS upgrade fallback</dfn>" maybe? -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1655#pullrequestreview-1493618779 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1655/review/1493618779@github.com>
Received on Thursday, 22 June 2023 16:38:45 UTC