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

@meacer commented on this pull request.



> @@ -5139,12 +5253,14 @@ these steps:
      <a>filtered response</a>; otherwise to <var>response</var>'s
      <a for="filtered response">internal response</a>.
 
+     <li><p>If <var>response</var>'s <a for=response>type</a> is "<code>error</code>" then
+      return the result of running <a>HTTPS upgrade fallback</a> given <var>request</var>
+      and a <a>network error</a>.

If response is a network error, the fallback algorithm will create a new 307 response with the fallback URL. Or do you mean `is HTTPS upgrade` isn't set so fallback algorithm returns at step 1?

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

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

Received on Wednesday, 26 July 2023 20:22:18 UTC