W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2011

Re: NEW: value space of status codes [#213]

From: Mark Nottingham <mnot@mnot.net>
Date: Mon, 21 Feb 2011 18:02:01 +1100
Message-Id: <1829C6B4-809D-4147-9F40-1F13E9D05020@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>

As per #229, p2-semantics now says:

    New HTTP status codes are required to fall under one of the categories defined in Section 8.

... so I think this clarifies that, at least for the purposes of IANA, status codes outside those ranges are disallowed.

Any objection to closing this issue with no further action?

On 30/06/2010, at 3:05 AM, Mark Nottingham wrote:

> p1 defines HTTP status codes as "a 3-digit integer result code" with the following value space:
> The first digit of the Status-Code defines the class of response. The last two digits do not have any categorization role. There are 5 values for the first digit:
> 	 1xx: Informational - Request received, continuing process
> 	 2xx: Success - The action was successfully received, understood, and accepted
> 	 3xx: Redirection - Further action must be taken in order to complete the request
> 	 4xx: Client Error - The request contains bad syntax or cannot be fulfilled
> 	 5xx: Server Error - The server failed to fulfill an apparently valid request
> The BNF, however, allows other values;
> Status-Code = 3DIGIT
> IANA has asked what the status of codes is outside of this range; e.g., is a 0xx status code reserved, unregistered, or just not allowed? Likewise for 6xx (used by some implementations for local status codes) and upwards.
> Also, should the value space be defined in p1 or p2?
> --
> Mark Nottingham     http://www.mnot.net/

Mark Nottingham   http://www.mnot.net/
Received on Monday, 21 February 2011 07:02:32 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:10:56 UTC