RE: Multiple Alt-Svc parameters of the same type
Mike Bishop <Michael.Bishop@microsoft.com> Mon, 16 January 2017 23:43 UTC
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 51DA01296BB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jan 2017 15:43:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.22
X-Spam-Level:
X-Spam-Status: No, score=-10.22 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-3.199, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.com
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 7_haYBKlfspP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jan 2017 15:43:08 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 72C7B1294F7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jan 2017 15:43:08 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1cTGt5-0008I0-Aq for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jan 2017 23:40:31 +0000
Resent-Date: Mon, 16 Jan 2017 23:40:31 +0000
Resent-Message-Id: <E1cTGt5-0008I0-Aq@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <Michael.Bishop@microsoft.com>) id 1cTGt0-0008HD-I5 for ietf-http-wg@listhub.w3.org; Mon, 16 Jan 2017 23:40:26 +0000
Received: from mail-sn1nam02on0115.outbound.protection.outlook.com ([104.47.36.115] helo=NAM02-SN1-obe.outbound.protection.outlook.com) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from <Michael.Bishop@microsoft.com>) id 1cTGst-0006io-Tu for ietf-http-wg@w3.org; Mon, 16 Jan 2017 23:40:21 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=xcm+j6woHQlGWIzryF2vREJvLy3WCENSb12+W3cTnWE=; b=Bzwq7IodQ9Z8XOSJOEgZpy4Gp198ONHNY/fQVonj+m+CfvCRrnt075h+5E2q+KIKYqEErgCP6bb3wSV+eU8LCfNvBy15GG4LvCG+jKZKnX/RoKNV21EWv+jehzV3o9IamNeJLnmQLqWLvd2YZk1CfKhpGO1GtS3RUB9CiEKCt5I=
Received: from BN6PR03MB2708.namprd03.prod.outlook.com (10.173.144.15) by BN6PR03MB2707.namprd03.prod.outlook.com (10.173.144.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12; Mon, 16 Jan 2017 23:39:51 +0000
Received: from BN6PR03MB2708.namprd03.prod.outlook.com ([10.173.144.15]) by BN6PR03MB2708.namprd03.prod.outlook.com ([10.173.144.15]) with mapi id 15.01.0845.013; Mon, 16 Jan 2017 23:39:50 +0000
From: Mike Bishop <Michael.Bishop@microsoft.com>
To: Martin Thomson <martin.thomson@gmail.com>, Lucas Pardue <Lucas.Pardue@bbc.co.uk>
CC: HTTP Working Group <ietf-http-wg@w3.org>
Thread-Topic: Multiple Alt-Svc parameters of the same type
Thread-Index: AdJwD1nipE7N1BWkQ6a91Y0rjdnjyQAPNfEAAAD1CwA=
Date: Mon, 16 Jan 2017 23:39:50 +0000
Message-ID: <BN6PR03MB27088C11B14D9FCE39B58AAE877D0@BN6PR03MB2708.namprd03.prod.outlook.com>
References: <7CF7F94CB496BF4FAB1676F375F9666A376B9A92@bgb01xud1012> <CABkgnnXb+axOZT4xiQWYPZQFyNqs9eTP9wGcDeS19JAhRoMxMA@mail.gmail.com>
In-Reply-To: <CABkgnnXb+axOZT4xiQWYPZQFyNqs9eTP9wGcDeS19JAhRoMxMA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Michael.Bishop@microsoft.com;
x-originating-ip: [2601:600:8300:3b9a:e1d6:f034:51a8:af71]
x-ms-office365-filtering-correlation-id: e4ee3d34-4191-41b9-c351-08d43e68f713
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:BN6PR03MB2707;
x-microsoft-exchange-diagnostics: 1; BN6PR03MB2707; 7:zPbAVM7Xs4SWhLloh/ZouwNCyN5dbl8hVGdScPXSQ/K7oAnCC5dBqZmlp7m2qnhYoKfZPhGiCJkj93DEtvWKRlDXXWm3WN9itv99hpLbs3ihS//JpIxH4jOH415Uq5evP80NywVe4bH23UiA4Nw4tjK5FT3iVmufrEObFBzrVFKHEPoGzL0oMu1uMAkvwC7ppXgguAeLr56q7iT0Uvy7tWlCdKMsa2xZipTxsKjJxX0HzuvUh9UWBJOTUVxbi6OkZvAkeNkdpmjjTKxnKRckxk5Dj7MdM6NVTVwv12OvjTe0qkg+PYorwtRiWtoEdY28RHjCCASe5FXWV368zPMWIV/8x/8BE7twuaaKcNbP2QCZqqYDPx/v3lXGvA8aa0uy2R1NRuum13jOjSYywPrmG0NLaqfT5fFUMLLNlccB2ZrT80srcmnq6sUndBKeKMYITarFrgiaqVnCASt755rdm+OY4DNgfWjDd5YdhW7pwVc=
x-microsoft-antispam-prvs: <BN6PR03MB2707E2C7A86006AC5E9DCE70877D0@BN6PR03MB2707.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(204407124797145)(127952516941037);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425038)(6040375)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026)(61426038)(61427038)(6041248)(20161123555025)(20161123560025)(20161123564025)(20161123562025)(6072148)(6047074); SRVR:BN6PR03MB2707; BCL:0; PCL:0; RULEID:; SRVR:BN6PR03MB2707;
x-forefront-prvs: 01894AD3B8
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(7916002)(39850400002)(39450400003)(39840400002)(39860400002)(39410400002)(13464003)(377454003)(24454002)(199003)(53754006)(189002)(229853002)(8936002)(5890100001)(39060400001)(16601075003)(81166006)(8676002)(38730400001)(81156014)(3660700001)(5005710100001)(2900100001)(189998001)(5660300001)(74316002)(92566002)(86362001)(8990500004)(77096006)(86612001)(6506006)(68736007)(122556002)(6306002)(33656002)(106356001)(50986999)(3280700002)(97736004)(76176999)(7696004)(54356999)(9686003)(10290500002)(4326007)(5001770100001)(6436002)(101416001)(2950100002)(6116002)(55016002)(7736002)(10090500001)(305945005)(2906002)(99286003)(105586002)(561944003)(102836003)(25786008)(30001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN6PR03MB2707; H:BN6PR03MB2708.namprd03.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jan 2017 23:39:50.5398 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR03MB2707
Received-SPF: pass client-ip=104.47.36.115; envelope-from=Michael.Bishop@microsoft.com; helo=NAM02-SN1-obe.outbound.protection.outlook.com
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: AWL=-2.749, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_NW=0.5
X-W3C-Scan-Sig: titan.w3.org 1cTGst-0006io-Tu 49f4f42ca27f2375c845c98636696104
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Multiple Alt-Svc parameters of the same type
Archived-At: <http://www.w3.org/mid/BN6PR03MB27088C11B14D9FCE39B58AAE877D0@BN6PR03MB2708.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33296
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Certainly open to suggestions on how to simplify. The "complex" encoding simply allows for things which can be represented in four characters instead of eight to do so. It just feels a little unwieldy to make things like Q034 render as "51303334". However, looking at it again, I note that while the *text* says no percent-encoding, the commend in the ABNF still says it's there. Fixed that. -----Original Message----- From: Martin Thomson [mailto:martin.thomson@gmail.com] Sent: Monday, January 16, 2017 3:00 PM To: Lucas Pardue <Lucas.Pardue@bbc.co.uk> Cc: HTTP Working Group <ietf-http-wg@w3.org> Subject: Re: Multiple Alt-Svc parameters of the same type I didn't mention this earlier, but I was wondering if it would be easier all around if we just renamed this from "v" to "quic" and made the semantics clearer. I don't much like Mike's proposal with its multiple variant encodings either. I proposed a simple numeric value (I chose hex, but decimal works fine), which is adequate. I was concerned about the complexity of the encoding, but now we have two encodings, one of which is complex. As far as multiple parameters go, it doesn't matter what the generic rules are as long as the specific ones are correct. On 17 January 2017 at 05:48, Lucas Pardue <Lucas.Pardue@bbc.co.uk> wrote: > Hello all, > > The “v” Alt-Svc parameter has seen some use in the wild, namely Google services offering the “quic” alternative service. To date this parameter was not defined anywhere but took the form of a comma-separated list of numbers e.g. > > Alt-Svc: quic=":443”; v="35,34" > > Mike Bishop is giving an official definition of the Alt-Svc “v” parameter, as part of https://tools.ietf.org/html/draft-ietf-quic-http-01#section-2.1, which is different than Google’s previous usage. > >> When multiple versions are supported, the "v" parameter MAY be >> repeated multiple times in a single Alt-Svc entry. For example, if a >> server supported both version "Q034" and version 0x00000001, it would >> specify the following header: > >> Alt-Svc: hq=":443";v="x1";v="cQ034" > >> Where multiple versions are listed, the order of the values reflects >> the server's preference (with the first value being the most >> preferred version). > > This got me thinking, RFC 7838 doesn’t seem to give any direction on the handling of multiple parameters of the same type. For example, is it OK for a server to generate multiple “persist” parameters perhaps with different values, how should a client deal with that? Perhaps I’m worrying too much. > > I wondered if the Alt-Svc parameter IANA registry could use some new columns to define the allowed multiplicity of each parameter, and an indication of how to treat the ordering. Any thoughts? > > Regards > Lucas > > > > > ---------------------------- > > http://www.bbc.co.uk > This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. > If you have received it in error, please delete it from your system. > Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. > Please note that the BBC monitors e-mails sent or received. > Further communication will signify your consent to this. > > ---------------------
- Multiple Alt-Svc parameters of the same type Lucas Pardue
- Re: Multiple Alt-Svc parameters of the same type Kari Hurtta
- RE: Multiple Alt-Svc parameters of the same type Lucas Pardue
- Re: Multiple Alt-Svc parameters of the same type Martin Thomson
- Re: Multiple Alt-Svc parameters of the same type Martin Thomson
- RE: Multiple Alt-Svc parameters of the same type Mike Bishop
- Re: Multiple Alt-Svc parameters of the same type Martin Thomson
- RE: Multiple Alt-Svc parameters of the same type Lucas Pardue
- Re: Multiple Alt-Svc parameters of the same type Martin Thomson