Re: [whatwg/fetch] Always send Origin header for (non HEAD/GET) CORS requests (PR #1463)

@evilpie commented on this pull request.



> @@ -2953,7 +2953,7 @@ given a <a for=/>request</a> <var>request</var>, run these steps:
 
   <ol>
    <li>
-    <p>Switch on <var>request</var>'s <a for=request>referrer policy</a>:
+    <p>If <var>request</var>'s <a for=request>method</a> is not "<code>cors</code>", then switch on <var>request</var>'s <a for=request>referrer policy</a>:

Thanks, good point.

This could be improved by having the if and switch be different steps, but I am not sure what the best way of doing this is.

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

Message ID: <whatwg/fetch/pull/1463/review/1065338235@github.com>

Received on Monday, 8 August 2022 15:03:33 UTC