Re: [whatwg/fetch] Clarify cors requests need cors response tainting (#1170)

@annevk commented on this pull request.



> @@ -1390,7 +1390,8 @@ to not have to set <a for=/>request</a>'s <a for=request>referrer</a>.
   <a>network error</a> if the request is not made to a same-origin URL.
 
   <dt>"<code>cors</code>"
-  <dd>Makes the request a <a>CORS request</a>. Fetch will return a <a>network error</a> if the
+  <dd>For requests whose <a for=request>response tainting</a> gets set to "<code>cors</code>", makes
+  the request a <a>CORS request</a> — in which case, fetch will return a <a>network error</a> if the
   requested resource does not understand the <a>CORS protocol</a>.

Sorry, noticed this afterwards, but maybe you want to improve this as well since the resource might well understand it, but not wish to share.

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

Received on Wednesday, 17 February 2021 10:13:59 UTC