Re: [whatwg/fetch] added note for `invalid` arg in `delete` (#397)

annevk commented on this pull request.



> @@ -4152,6 +4152,9 @@ <h4 id="should-response-to-request-be-blocked-due-to-nosniff?"><dfn title="shoul
  "<code title>request-no-cors</code>" and <var>name</var>/`<code title>invalid</code>` is
  not a <span>CORS-safelisted request-header</span>, return.
 
+ <p class=note>The reason for <var>name</var>/`<code title>invalid</code>` is because
+ "<code title>delete</code>" is not passed a value argument.

Thank you!

"<code title>delete</code>" should be `<code title=dom-Headers-delete>delete()</code>` instead.

And I would suggest rewording it to say "`<code title>invalid</code>` is used because ..."

-- 
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/397#pullrequestreview-4515581

Received on Monday, 17 October 2016 17:04:03 UTC