Re: Advertising WebSocket support in the HTTPS resource record

On Fri, Oct 22, 2021 at 3:06 AM Martin Thomson <mt@lowentropy.net> wrote:
...

> We could do as you suggest, but that forces an origin that deploys a given
> protocol version to support all of its resources - and the ways in which
> those resources operate - over that version as well.
>
> That's fine in principle, but - as of this moment - that is an impossible
> requirement to fulfill.  Websockets over HTTP/3 is a twinkling in the eye
> of its parents and - by all practical measures - does not exist.
>

Yes.  I think WebSockets is a special case, though.


> This pattern will continue as long as we continue to invent "X over HTTP"
> with weird interaction methods (think WebTransport and MASQUE).


I don't think WebTransport or MASQUE will have these problems.  They'll
both be defined (or explicitly not defined) for all existing HTTP versions
on Day 1.  Similarly, any future HTTP versions can incorporate (or
explicitly reject) all pre-existing protocols.

We only have a problem if, for a given :protocol, the client and server
might disagree about whether it is defined for a given HTTP version.  If a
disagreement occurs, it's our fault, for changing our minds about what is
allowed where.

  Those protocols might get a fresh definition for the new HTTP version,
> but I don't think we can guarantee that they will all have definitions at
> the time you might first deploy that new HTTP version.
>

I don't see why we can't guarantee that.

Received on Friday, 22 October 2021 16:29:00 UTC