Protocol switch before, or after the 101 response?

Hi,

  In http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-11 on
the Upgrade header, "The capabilities and nature of the application-
layer communication after the protocol change is entirely dependent
upon the new protocol chosen, although the first action after changing
the protocol MUST be a response to the initial HTTP request containing
the Upgrade header field."

In http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-11 in
definition of the 101 status code this seems to be contradicted, "The
server will switch protocols to those defined by the response's Upgrade
header field immediately after the empty line which terminates the 101
response."

One says you switch and then send the 101, the other says you send the
101 and then switch. (There is also a singular/plural mismatch, but
that is probably no problem here).

(I noticed this when wondering what happens to pipelined requests that
succeed a request to switch protocols if the server decides to switch.)

regards,
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Saturday, 11 September 2010 21:21:23 UTC