Re: Revision of p2 2.2.1 / who can generate a status code?

On 4/07/2012 7:26 a.m., Mark Nottingham wrote:
> On 03/07/2012, at 11:58 PM, John Sullivan wrote:
>
>> Mark Nottingham wrote:
>>> Note that the new consideration -- identifying who can generate the status code -- implies (as Julian pointed out) that we should eat our own dogfood and define it for ours.
>>>
>>> Looking through p2, this was actually easier than I thought it might be; most of the status codes already are pretty specific (using phrases like "the resource indicates...", which can logically be read to make it specific to origins). The only issues of interpretation I found are marked by "!" below.
>>>
>>> O - Origin server (including gateways)
>>> I - Intermediaries (proxy or gateway)
>>> P - Proxies (not gateways)
>>> S - All servers
>>>
>>> Successful 2xx
>>> O   200 OK
>> Does an intermediate selected through use of Max-Forwards count
>> as an origin for this purpose when fielding TRACE or OPTIONS?
> Good point. This will have to be special-cased in the text.

Another one: CONNECT response from a proxy? you put 101 as "S".

AYJ

Received on Wednesday, 4 July 2012 07:22:19 UTC