NEW: value space of status codes [#213]

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

Received on Tuesday, 29 June 2010 17:06:25 UTC