Re: [whatwg/fetch] Adjust wildcard handling slightly (#592)

yutakahirano commented on this pull request.



> @@ -3916,21 +3912,40 @@ steps:
     happened due to <var>request</var>'s <a>use-CORS-preflight flag</a> being set is
     <a lt="CORS-preflight cache">cached</a>.
 
-   <li><p>If <var>request</var>'s <a for=request>method</a> is not in
-   <var>methods</var>, is not a <a>CORS-safelisted method</a>, and <var>methods</var> does
-   <em>not</em> contain `<code>*</code>`, then return a
-   <a>network error</a>.
+   <li>
+    <p>If all of the following are true
+
+    <ul class=brief>
+     <li><var>request</var>'s <a for=request>method</a> is not in <var>methods</var>
+
+     <li><var>request</var>'s <a for=request>method</a> is not a <a>CORS-safelisted method</a>
+
+     <li><var>request</var>'s <a for=request>credentials mode</a> is not "<code>include</code>"

Thanks, is the following correct?

 - the method is not listed,
 - the method is not CORS-safeliested, and
 - the list doesn't have a wildcard symbol, i.e., not (_credentials_ != "include" and  contains `*`)



-- 
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/592#discussion_r136513705

Received on Friday, 1 September 2017 07:24:35 UTC