Re: [whatwg/fetch] HTTPS upgrades proposal (PR #1655)

@christhompson commented on this pull request.



> +  </li>
+</ol>
+
+<h4 id=https-upgrades-fallback>Fallback algorithm</h4>
+
+To run <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, return
+  <var>response</var>.
+
+  <p class="note">This means <var>request</var> was not upgraded.
+
+  <li>
+    <p>Otherwise, the request was upgraded.

Done, although from looking at the preview I'm not sure the formatting is ideal https://whatpr.org/fetch/1655.html#https-upgrades-fallback

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1655#discussion_r1256265538
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1655/review/1519491134@github.com>

Received on Friday, 7 July 2023 18:21:56 UTC