Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify what a status is #1159

Merged
merged 3 commits into from
Feb 1, 2021
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 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. -->
annevk marked this conversation as resolved.
Show resolved Hide resolved

<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 @@ -7149,6 +7150,7 @@ Martin Dürst,
Martin Thomson,
Matt Andrews,
Matt Falkenhagen,
Matt Menke,
Matt Oshry,
Matt Seddon,
Matt Womer,
Expand Down Expand Up @@ -7193,6 +7195,7 @@ Stephan Paul,
Steven Salat,
Sunava Dutta,
Surya Ismail,
Tab Atkins,
annevk marked this conversation as resolved.
Show resolved Hide resolved
Takashi Toyoshima,
吉野剛史 (Takeshi Yoshino),
Thomas Roessler,
Expand Down