Skip to content

Commit cb8995b

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

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

fetch.bs

+7-2
Original file line numberDiff line numberDiff line change
@@ -985,11 +985,14 @@ 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+
990+
<p class=XXX>Various edge cases in mapping HTTP/1's <code>status-code</code> to this concept are
991+
worked on in <a href=https://github.com/whatwg/fetch/issues/1156>issue #1156</a>.
989992

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

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

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

@@ -7149,6 +7152,7 @@ Martin Dürst,
71497152
Martin Thomson,
71507153
Matt Andrews,
71517154
Matt Falkenhagen,
7155+
Matt Menke,
71527156
Matt Oshry,
71537157
Matt Seddon,
71547158
Matt Womer,
@@ -7193,6 +7197,7 @@ Stephan Paul,
71937197
Steven Salat,
71947198
Sunava Dutta,
71957199
Surya Ismail,
7200+
Tab Atkins-Bittner,
71967201
Takashi Toyoshima,
71977202
吉野剛史 (Takeshi Yoshino),
71987203
Thomas Roessler,

0 commit comments

Comments
 (0)