Re: [whatwg/fetch] Allow HTTP scheme fetches to make CORS preflight (PR #1785)

@domfarolino commented on this pull request.



> @@ -5106,7 +5106,13 @@ steps:
     <p>When in doubt, return a <a>network error</a>.
 
    <dt><a>HTTP(S) scheme</a>
-   <dd><p>Return the result of running <a>HTTP fetch</a> given <var>fetchParams</var>.
+   <dd>
+    <ol>
+     <li><p>If <var>request</var>'s <a for=request>mode</a> is "<code>navigate</code>", then return
+     the result of running <a>HTTP fetch</a> given <var>fetchParams</var> and true.
+
+     <li><p>Return the result of running <a>HTTP fetch</a> given <var>fetchParams</var>.

I would keep this a one-liner reading "Return the result of running HTTP fetch with fetchParams and true if request's mode is navigate, and false otherwise."

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

Message ID: <whatwg/fetch/pull/1785/review/2446487984@github.com>

Received on Tuesday, 19 November 2024 19:34:29 UTC