Skip to content

Commit 3853246

Browse files
committed
Clarify what a status is
Tests: web-platform-tests/wpt#27421. Follow-up: #1156. Closes #1142.
1 parent f59bcf6 commit 3853246

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

fetch.bs

+4-2
Original file line numberDiff line numberDiff line change
@@ -985,11 +985,12 @@ user-agent-defined <a for=header>value</a> for the
985985

986986
<h4 id=statuses>Statuses</h4>
987987

988-
<p>A <dfn export id=concept-status>status</dfn> is a code.
988+
<p>A <dfn export id=concept-status>status</dfn> is an integer in the range 0 to 999, inclusive.
989+
<!-- See https://github.com/whatwg/fetch/issues/1156 about the parsing situation. -->
989990

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

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

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

@@ -7193,6 +7194,7 @@ Stephan Paul,
71937194
Steven Salat,
71947195
Sunava Dutta,
71957196
Surya Ismail,
7197+
Tab Atkins,
71967198
Takashi Toyoshima,
71977199
吉野剛史 (Takeshi Yoshino),
71987200
Thomas Roessler,

0 commit comments

Comments
 (0)