Skip to content

Commit

Permalink
Clarify what a status is
Browse files Browse the repository at this point in the history
Tests: web-platform-tests/wpt#27421.

Follow-up: #1156.

Closes #1142.
  • Loading branch information
annevk committed Feb 1, 2021
1 parent f59bcf6 commit 3853246
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -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. -->

<p>A <dfn export>null body status</dfn> is a <a for=/>status</a> that is 101, 204, 205, or 304.

<p>An <dfn export>ok status</dfn> is any <a for=/>status</a> in the range 200 to 299, inclusive.
<p>An <dfn export>ok status</dfn> is a <a for=/>status</a> in the range 200 to 299, inclusive.

<p>A <dfn export>redirect status</dfn> is a <a for=/>status</a> that is 301, 302, 303, 307, or 308.

Expand Down Expand Up @@ -7193,6 +7194,7 @@ Stephan Paul,
Steven Salat,
Sunava Dutta,
Surya Ismail,
Tab Atkins,
Takashi Toyoshima,
吉野剛史 (Takeshi Yoshino),
Thomas Roessler,
Expand Down

0 comments on commit 3853246

Please sign in to comment.