Re: [hybi] Fwd: New Version Notification for draft-mcmanus-httpbis-h2-websockets-01.txt

Anne van Kesteren <annevk@annevk.nl> Sun, 29 October 2017 08:37 UTC

Return-Path: <annevk@annevk.nl>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 258A813F933 for <hybi@ietfa.amsl.com>; Sun, 29 Oct 2017 01:37:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.52
X-Spam-Level:
X-Spam-Status: No, score=-1.52 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=annevk.nl
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pkcPpuUiOB-0 for <hybi@ietfa.amsl.com>; Sun, 29 Oct 2017 01:37:13 -0700 (PDT)
Received: from homiemail-a6.g.dreamhost.com (homie.mail.dreamhost.com [208.97.132.208]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0FD3913F8F3 for <hybi@ietf.org>; Sun, 29 Oct 2017 01:37:13 -0700 (PDT)
Received: from homiemail-a6.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a6.g.dreamhost.com (Postfix) with ESMTP id 32FF359807A for <hybi@ietf.org>; Sun, 29 Oct 2017 01:37:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=annevk.nl; h=mime-version :in-reply-to:references:from:date:message-id:subject:to:cc :content-type:content-transfer-encoding; s=annevk.nl; bh=iD5JdeQ /XTbUwmAj8rMgt/auE9Q=; b=Hu9sHQGghG4LykPMGPBh7MaTrnMC9MSobWokNHe cm04uY24rDyZ9E6R0MfKmWtXGZYAxq304mljGwza0L+KmQgToipm9TKCjwUVNDKj ild5cNWoSQWCpajhOojSo6BTZOWRheRlLw0w9dxMcpTHkKQafGrjsoWavkIUu/k0 rQ5I=
Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: annevk@annevk.nl) by homiemail-a6.g.dreamhost.com (Postfix) with ESMTPSA id 987DE598077 for <hybi@ietf.org>; Sun, 29 Oct 2017 01:37:11 -0700 (PDT)
Received: by mail-wm0-f52.google.com with SMTP id z3so10596770wme.5 for <hybi@ietf.org>; Sun, 29 Oct 2017 01:37:11 -0700 (PDT)
X-Gm-Message-State: AMCzsaWn1duwjy8OTRQ45a+0GStW3JeIqPfywnQrHX2UWO/g98CYdLDD i0LLuDQ173HJSTXnowyqhKS+lCpfO0uRTQ4ylQ==
X-Google-Smtp-Source: ABhQp+RoAa9FNToHz2tiSkRm3e0vZExJwAglzAk9yNw+EO0bL86ApCLtyMOpGzLCb1V5ADCxqJCNkodDEq0jcmHg6Mw=
X-Received: by 10.80.218.72 with SMTP id a8mr5667709edk.221.1509266229963; Sun, 29 Oct 2017 01:37:09 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.80.240.141 with HTTP; Sun, 29 Oct 2017 01:37:09 -0700 (PDT)
In-Reply-To: <CAOdDvNqudKidPaXoRMvDGbuJEGN_OU+ZP5eQGSY8VJYrUCAFMw@mail.gmail.com>
References: <150903901882.24232.14013636670744151147.idtracker@ietfa.amsl.com> <CAOdDvNrC1PgribOiDc93hfCDFSJbjodnU8=yeNWgzkq4Cm-2Cg@mail.gmail.com> <CACAJL3nEB5jGFXpqPZ2ErdkezCHpZE1CnqXy0yomBP-v7jcGRA@mail.gmail.com> <CAOdDvNq-=crksV_5K6zqbEyKuCPjO9zRRdSxmj0ZWajzWBykTg@mail.gmail.com> <CACAJL3=WpqyDTOYVdfF3J6Y6wv=R4NLyn7rx7TLr24A0CkR0FQ@mail.gmail.com> <CAOdDvNqudKidPaXoRMvDGbuJEGN_OU+ZP5eQGSY8VJYrUCAFMw@mail.gmail.com>
From: Anne van Kesteren <annevk@annevk.nl>
Date: Sun, 29 Oct 2017 09:37:09 +0100
X-Gmail-Original-Message-ID: <CADnb78iGhCvoSTeEEE1WjxL=dvAH+oO8SqALbnETBU31NQCaYQ@mail.gmail.com>
Message-ID: <CADnb78iGhCvoSTeEEE1WjxL=dvAH+oO8SqALbnETBU31NQCaYQ@mail.gmail.com>
To: Patrick McManus <pmcmanus@mozilla.com>
Cc: John Fallows <john.fallows@kaazing.com>, hybi <hybi@ietf.org>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/hybi/NTNKRnWJ9uEXoUSLW6wh4kJELxY>
Subject: Re: [hybi] Fwd: New Version Notification for draft-mcmanus-httpbis-h2-websockets-01.txt
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/hybi/>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Oct 2017 08:37:14 -0000

On Fri, Oct 27, 2017 at 7:13 PM, Patrick McManus <pmcmanus@mozilla.com> wrote:
> I'm not changing the scheme. It was also wss in http/1.1 as well - its just that scheme does not typically appear on the wire in that protocol. My reference to 7540 8.1.2.3 explicitly talks about non http schemes (ftp is the most common). That doesn't make CONNECT/TUNNEL non http.. it just means http is being used to interact with a non-http service..

FWIW, we do change the scheme from the API perspective:
https://fetch.spec.whatwg.org/#websocket-protocol (details in section
6.2). The reason for that is 1) the handshake is a simple HTTP request
2) it makes it a lot easier to share HSTS, CSP, Mixed Content logic,
etc. So by the time it gets to the protocol there's no ws/wss. I think
ws/wss was largely a legacy thing from when we still thought it
wouldn't require HTTP at all.


-- 
https://annevankesteren.nl/