Re: #300: Define non-final responses

On Jul 17, 2011, at 2:15 PM, Poul-Henning Kamp wrote:

> In message <7D5E6715-1377-45EC-A00E-F3FB6D392AAC@gbiv.com>, "Roy T. Fielding" w
> rites:
> 
>> As mentioned before, that statement is false.  101 is never the final
>> response to the request.  Whether or not a later response is in the same
>> syntax of HTTP is irrelevant to the semantics being described here.
> 
> Actually 101 can be the final response, it all depends on which
> protocol you switch to, and since that is outside the scope of HTTPbis
> there are no absolute answers to this.
> 
> People use UPGRADE to switch to all sorts of protocols, including,
> to my horror, TN3270.
> 
> That is why I wrote that "101 is final as far as HTTP goes."
> 
> What happens next is simply not part of the HTTPbis standard any
> more.

It is part of the HTTP standard, and it is not our problem if some
people who implemented 101 cannot read and obey that standard.

I repeat:  101 is never the final response.  In order for the HTTP
request to be completed, the upgraded protocol MUST respond to the
initial request after the switch is complete.  There are NO EXCEPTIONS.
If the final response is not received, an HTTP error has occurred
even if the connection is no longer being run in HTTP.  What HTTP
does not define is how, not if, that final response is sent.

....Roy

Received on Sunday, 17 July 2011 21:39:52 UTC