Re: HTTP/2, "h2t" and protocol identifiers in general

On 4 Mar 2014, at 11:25 am, Roberto Peon <grmocg@gmail.com> wrote:

> How does one determine WS usnig HTTP2/TLS/TCP as compared to WS over TLS/TCP?

We haven’t discussed much yet, but there are two (not necessarily exclusive) proposals:

- You try; if the other end doesn’t support WS, it refuses with an error code.

- You discover what schemes the server supports using a SETTINGS.

This assumes you already have an HTTP/2 connection open to the server; if you don’t, you have to figure out what to do, but I *think* that’s a WS/1 problem, not ours.

Cheers,


--
Mark Nottingham   http://www.mnot.net/

Received on Tuesday, 4 March 2014 17:08:25 UTC