Re: [whatwg/fetch] Clarify what a status is (#1159)

@domenic commented on this pull request.



> @@ -985,11 +985,12 @@ user-agent-defined <a for=header>value</a> for the
 
 <h4 id=statuses>Statuses</h4>
 
-<p>A <dfn export id=concept-status>status</dfn> is a code.
+<p>A <dfn export id=concept-status>status</dfn> is an integer in the range 0 to 999, inclusive.
+<!-- See https://github.com/whatwg/fetch/issues/1156 about the parsing situation. -->

IMO elevating this to an XXX box would be ideal. Something like

> It's not yet specified where and how to handle wire-level bytes that translate to statuses outside this range, but the intent is for them to cause a network error: see https://github.com/web-platform-tests/wpt/pull/27421/files. See issue #1156 to track progress on specifying them.

-- 
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/1159#pullrequestreview-580544124

Received on Monday, 1 February 2021 16:40:06 UTC