Re: Multiple Alt-Svc parameters of the same type

Martin Thomson <martin.thomson@gmail.com> Thu, 19 January 2017 22:03 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 4F0FA12966E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jan 2017 14:03:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.72
X-Spam-Level:
X-Spam-Status: No, score=-9.72 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, RCVD_IN_SORBS_SPAM=0.5, 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 (2048-bit key) header.d=gmail.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 LsO5gWT8ahgi for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jan 2017 14:03:54 -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 8FE4C12966D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jan 2017 14:03:54 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1cUKl0-00056W-Ng for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jan 2017 22:00:34 +0000
Resent-Date: Thu, 19 Jan 2017 22:00:34 +0000
Resent-Message-Id: <E1cUKl0-00056W-Ng@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1cUKkw-00054C-2u for ietf-http-wg@listhub.w3.org; Thu, 19 Jan 2017 22:00:30 +0000
Received: from mail-yw0-f177.google.com ([209.85.161.177]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <martin.thomson@gmail.com>) id 1cUKkq-0001om-85 for ietf-http-wg@w3.org; Thu, 19 Jan 2017 22:00:24 +0000
Received: by mail-yw0-f177.google.com with SMTP id u68so12552470ywg.0 for <ietf-http-wg@w3.org>; Thu, 19 Jan 2017 14:00:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=wxvPEJedozC1batveOwZ0O8IkoId9M4hY3JvxAFKPNk=; b=bo+Z8JY+oJoSY/d6o2Lv1LUP09227hmRmjIWWorqFny9qkB+sMrkiRsRWVTRzYMn3+ YdH3cl4F20r7IDRADZbHUwdBOVvMdl4KGBEBw1kFiL+ZUGbG8rmLfrbuQ42BdjKabntv JMF38pe8TmBtn2Jtls+5fYs4p7EFHPceeIPz0F2RrHAtmQL/iNXirT3YNg30LcpToG6T PtESwKgGB/EvmkOPN9Zh7NdCXuObNDjNsdbLC5xZF2bt8s4v8rjnA2m9OAGRs1KPdcAW /O/0nWbhH36Eldm4NELAP/sCCdtgBhvdxG7ndNuw2oxg1LljxQYaJJwFSpgMuiPyScb1 EOpw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=wxvPEJedozC1batveOwZ0O8IkoId9M4hY3JvxAFKPNk=; b=rbNri7iCBsug/xlgCUGLClJZDsRjOZu6p/7hfRyocJi+25sLU3RQc4+wVAygZdq1gn cxpNBZcfJSE9lOrWlpJI2FNz792Vu6h4U4n/FTiLyrvVk/5+9EWLeVb7GHN57zbUxahg jHMhC1wJjghX5edOaS0vss+qklWqgQC3W+WgC8yaSKOdDyDuDYOB5y9DxqIxbo/z2BuV vdMVltn66pHr1irRJG7sZVK9cS01ArdH5aQ1p94dqJiZhKAU1AJIbMWwqPD0M2SQNugD VJMx6L+OxQ3h+SBWfqAWqUJW1TPz/Q/+xdPk3KLuFOkULPkf2QIkiWsHlBiBzbtbvRsr rG8Q==
X-Gm-Message-State: AIkVDXLB2wCzaAvdPpcktLRbhbYaFK5utkWqV4tMVo+iRA2x863P9xDn28lLFOXs2SD5Ppv8mgfEeziskGu+kQ==
X-Received: by 10.55.164.85 with SMTP id n82mr10082929qke.316.1484863198159; Thu, 19 Jan 2017 13:59:58 -0800 (PST)
MIME-Version: 1.0
Received: by 10.140.19.112 with HTTP; Thu, 19 Jan 2017 13:59:57 -0800 (PST)
In-Reply-To: <7CF7F94CB496BF4FAB1676F375F9666A376B9FD8@bgb01xud1012>
References: <7CF7F94CB496BF4FAB1676F375F9666A376B9A92@bgb01xud1012> <20170116181825.4A39514617@welho-filter1.welho.com> <CABkgnnWqo1KzPofnR8nS9S0DyZhGjg+yYkMH-qb+H7WcKG1uHw@mail.gmail.com> <7CF7F94CB496BF4FAB1676F375F9666A376B9FD8@bgb01xud1012>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Fri, 20 Jan 2017 10:59:57 +1300
Message-ID: <CABkgnnVVM3dDzxOf3nz-DcpY=BW7K1XpkMA1yijJU6Gz0VqLrQ@mail.gmail.com>
To: Lucas Pardue <Lucas.Pardue@bbc.co.uk>
Cc: Kari Hurtta <hurtta-ietf@elmme-mailer.org>, HTTP working group mailing list <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.161.177; envelope-from=martin.thomson@gmail.com; helo=mail-yw0-f177.google.com
X-W3C-Hub-Spam-Status: No, score=-5.8
X-W3C-Hub-Spam-Report: AWL=-0.230, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1cUKkq-0001om-85 27d825efb4f383fb55abfb7e469d0ea2
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/CABkgnnVVM3dDzxOf3nz-DcpY=BW7K1XpkMA1yijJU6Gz0VqLrQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33332
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>

On 19 January 2017 at 23:00, Lucas Pardue <Lucas.Pardue@bbc.co.uk> wrote:
> Is it correct to interpret this statement to say that Mike's definition of the v parameter (or whatever it turns to be called) is a specialisation of the general case and it's "ordered list" processing is implemented at the required level.


Mike's definition of v= in the quic documents defines the semantics
for a field in a specific context.  That definition, in addition to
specifying semantics, can also require that the list form be
understood by implementations.

Another definition for a different tuple of header field and parameter
could also insist in a different definition: maybe that multiple
instances of the same name result in an error of some sort.

It would be good if the common syntax established what is possible.
I'm thinking:
1. multiple values are possible

2. a definition for a specific parameter may forbid the use of
multiple values, (noting further that a sender might not be able to
guarantee that the receiver knows of these rules without some sort of
prior indication that the semantics are known)

3. order {is significant|is not significant|has significance as
defined by the field semantics}

4. where multiple values are accepted specific rules should be
described for handling errors caused by a single parameter, this could
render many different things invalid: just that parameter, all
parameters with the same name, the affected header field value (there
could be multiple comma-separated values), or the entire header field.
By default, only the parameter value is affected.

Or something like that.  I might have missed something.