Multiple Alt-Svc parameters of the same type

Lucas Pardue <Lucas.Pardue@bbc.co.uk> Mon, 16 January 2017 16:52 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 68C5712945E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jan 2017 08:52:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.12
X-Spam-Level:
X-Spam-Status: No, score=-10.12 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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
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 y60AioB8LFRC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jan 2017 08:52:04 -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 C927F1293D8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jan 2017 08:52:04 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1cTATG-000509-Ea for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jan 2017 16:49:26 +0000
Resent-Date: Mon, 16 Jan 2017 16:49:26 +0000
Resent-Message-Id: <E1cTATG-000509-Ea@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 <Lucas.Pardue@bbc.co.uk>) id 1cTATB-0004tN-Bv for ietf-http-wg@listhub.w3.org; Mon, 16 Jan 2017 16:49:21 +0000
Received: from mailout0.cwwtf.bbc.co.uk ([132.185.160.179]) by titan.w3.org with esmtps (TLS1.2:DHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <Lucas.Pardue@bbc.co.uk>) id 1cTAT3-0001OR-QO for ietf-http-wg@w3.org; Mon, 16 Jan 2017 16:49:16 +0000
Received: from BGB01XI1001.national.core.bbc.co.uk ([10.184.50.51]) by mailout0.cwwtf.bbc.co.uk (8.15.2/8.14.3) with ESMTP id v0GGmqFD027362 for <ietf-http-wg@w3.org>; Mon, 16 Jan 2017 16:48:52 GMT
Received: from BGB01XUD1012.national.core.bbc.co.uk ([10.161.14.10]) by BGB01XI1001.national.core.bbc.co.uk ([10.184.50.51]) with mapi id 14.03.0319.002; Mon, 16 Jan 2017 16:48:50 +0000
Content-Type: multipart/mixed; boundary="_000_7CF7F94CB496BF4FAB1676F375F9666A376B9A92bgb01xud1012_"
From: Lucas Pardue <Lucas.Pardue@bbc.co.uk>
To: HTTP Working Group <ietf-http-wg@w3.org>
Thread-Topic: Multiple Alt-Svc parameters of the same type
Thread-Index: AdJwD1nipE7N1BWkQ6a91Y0rjdnjyQ==
Date: Mon, 16 Jan 2017 16:48:49 +0000
Message-ID: <7CF7F94CB496BF4FAB1676F375F9666A376B9A92@bgb01xud1012>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator: <7CF7F94CB496BF4FAB1676F375F9666A376B9A92@bgb01xud1012>
x-originating-ip: [172.19.161.212]
x-exclaimer-md-config: 1cd3ac1c-62e5-43f2-8404-6b688271c769
x-tm-as-product-ver: SMEX-11.0.0.4179-8.000.1202-22828.000
x-tm-as-result: No--14.434900-0.000000-31
x-tm-as-user-approved-sender: Yes
x-tm-as-user-blocked-sender: No
MIME-Version: 1.0
Received-SPF: pass client-ip=132.185.160.179; envelope-from=Lucas.Pardue@bbc.co.uk; helo=mailout0.cwwtf.bbc.co.uk
X-W3C-Hub-Spam-Status: No, score=-6.5
X-W3C-Hub-Spam-Report: AWL=0.389, BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-3.199, SPF_PASS=-0.001, W3C_NW=0.5
X-W3C-Scan-Sig: titan.w3.org 1cTAT3-0001OR-QO db0035e4b6a5a09368f579279738d68d
X-Original-To: ietf-http-wg@w3.org
Subject: Multiple Alt-Svc parameters of the same type
Archived-At: <http://www.w3.org/mid/7CF7F94CB496BF4FAB1676F375F9666A376B9A92@bgb01xud1012>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33291
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>

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.

---------------------