From 3853246b54cb3bdc6c4355b0a037356e45b6053d Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Mon, 1 Feb 2021 17:09:37 +0100 Subject: [PATCH 1/3] Clarify what a status is Tests: https://github.com/web-platform-tests/wpt/pull/27421. Follow-up: #1156. Closes #1142. --- fetch.bs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fetch.bs b/fetch.bs index 78e50b11e..491770c07 100644 --- a/fetch.bs +++ b/fetch.bs @@ -985,11 +985,12 @@ user-agent-defined value for the

Statuses

-

A status is a code. +

A status is an integer in the range 0 to 999, inclusive. +

A null body status is a status that is 101, 204, 205, or 304. -

An ok status is any status in the range 200 to 299, inclusive. +

An ok status is a status in the range 200 to 299, inclusive.

A redirect status is a status that is 301, 302, 303, 307, or 308. @@ -7193,6 +7194,7 @@ Stephan Paul, Steven Salat, Sunava Dutta, Surya Ismail, +Tab Atkins, Takashi Toyoshima, 吉野剛史 (Takeshi Yoshino), Thomas Roessler, From 78f749b548bdacbf066c7cefdace0036dc131ad3 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Mon, 1 Feb 2021 17:12:05 +0100 Subject: [PATCH 2/3] ack Matt --- fetch.bs | 1 + 1 file changed, 1 insertion(+) diff --git a/fetch.bs b/fetch.bs index 491770c07..fa35f183e 100644 --- a/fetch.bs +++ b/fetch.bs @@ -7150,6 +7150,7 @@ Martin Dürst, Martin Thomson, Matt Andrews, Matt Falkenhagen, +Matt Menke, Matt Oshry, Matt Seddon, Matt Womer, From 66f525bd6310b43e7811faede18a8d5a1fd3e298 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Mon, 1 Feb 2021 18:19:18 +0100 Subject: [PATCH 3/3] review --- fetch.bs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fetch.bs b/fetch.bs index fa35f183e..e06c3801b 100644 --- a/fetch.bs +++ b/fetch.bs @@ -986,7 +986,9 @@ user-agent-defined value for the

Statuses

A status is an integer in the range 0 to 999, inclusive. - + +

Various edge cases in mapping HTTP/1's status-code to this concept are +worked on in issue #1156.

A null body status is a status that is 101, 204, 205, or 304. @@ -7195,7 +7197,7 @@ Stephan Paul, Steven Salat, Sunava Dutta, Surya Ismail, -Tab Atkins, +Tab Atkins-Bittner, Takashi Toyoshima, 吉野剛史 (Takeshi Yoshino), Thomas Roessler,