Re: Multiple Alt-Svc parameters of the same type
Martin Thomson <martin.thomson@gmail.com> Mon, 16 January 2017 23: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 1A22F12984C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jan 2017 15:03:13 -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 HTJaKAwUh3eB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jan 2017 15:03:11 -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 75C0C129784 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jan 2017 15:03:11 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1cTGFy-0000Kc-P6 for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jan 2017 23:00:06 +0000
Resent-Date: Mon, 16 Jan 2017 23:00:06 +0000
Resent-Message-Id: <E1cTGFy-0000Kc-P6@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 <martin.thomson@gmail.com>) id 1cTGFv-0004wZ-35 for ietf-http-wg@listhub.w3.org; Mon, 16 Jan 2017 23:00:03 +0000
Received: from mail-qt0-f179.google.com ([209.85.216.179]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <martin.thomson@gmail.com>) id 1cTGFp-0005bG-3Y for ietf-http-wg@w3.org; Mon, 16 Jan 2017 22:59:57 +0000
Received: by mail-qt0-f179.google.com with SMTP id l7so126960556qtd.1 for <ietf-http-wg@w3.org>; Mon, 16 Jan 2017 14:59:36 -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:content-transfer-encoding; bh=qtZt9gjedPGFZmolYOJYnLC17NvLRjdIA4kXIMKWwtQ=; b=eN6A1MIH55NdyOwunRyNvNN0KdfHujeMtJxIxyXHzGyYmnMpLTwG5CatVh9F6zwBUV 5zLMC1p4p0LeySDE2yfAeDhyYSp+8PNdaSvR+ZGehASVIWxIV0twidNrlJWkh4pMvusg Mrj+kfGqzVusgCIoQTC+Bul6Ls3lTSPV31ZyLr3nJCdLkkQA1uVLywDoy1C4uFp72ndB wZvxsPVYjuhf2jC2kJRVy1gmV9dFZGc24ZkgAu853mBxmeBAyqBdhRMtfDKLC0V/c2WK AXIJe+PyQa47Nh4dTRo5BRaff6j+7tBKQvVbzZuHwaRI1KJLeIryYD0Br8/HJnXVSI0x bZzg==
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:content-transfer-encoding; bh=qtZt9gjedPGFZmolYOJYnLC17NvLRjdIA4kXIMKWwtQ=; b=Ylmyvf9MpAhGeHGlQ7AMiqhLG8oMoG0tGbgbDL+XcPI5FpwCgPCgwFuduuboBF5/Uu aP947jLg6ogh7CVEAftT8JoupbYdx44qAVe/3jMzcAsz0Qa44YQdo3BWaaFo1X4zQsEe JU5DXFKzOotWg/Kdl3xDi0sjdaSQMUiAXbapONhTi/aY0bDyrgbaZ2mAyxw774rxmTHp 4RPiCQAsnxaYIlpYEwWupAl5t+97jL2LciAanwdefS/r9qfXfGaY4RhJw8cUjHuIEeIv 2YyIl4AC1dXPw/pgdCY9wUsbP1ruRTp95Qnr1M2uInppQO7sweS5KZAlxuN8+BQ1ao1E Wxng==
X-Gm-Message-State: AIkVDXJab3nyizVY2IoBJRQaZnjBnh7Yi0y5AjSelIZaRx24P3VHDQvEWRg//j7dmt+Hea7EyTjd6sFPkAAmhw==
X-Received: by 10.200.39.200 with SMTP id x8mr3532354qtx.159.1484607570897; Mon, 16 Jan 2017 14:59:30 -0800 (PST)
MIME-Version: 1.0
Received: by 10.140.19.112 with HTTP; Mon, 16 Jan 2017 14:59:30 -0800 (PST)
In-Reply-To: <7CF7F94CB496BF4FAB1676F375F9666A376B9A92@bgb01xud1012>
References: <7CF7F94CB496BF4FAB1676F375F9666A376B9A92@bgb01xud1012>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Tue, 17 Jan 2017 11:59:30 +1300
Message-ID: <CABkgnnXb+axOZT4xiQWYPZQFyNqs9eTP9wGcDeS19JAhRoMxMA@mail.gmail.com>
To: Lucas Pardue <Lucas.Pardue@bbc.co.uk>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.216.179; envelope-from=martin.thomson@gmail.com; helo=mail-qt0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-6.1
X-W3C-Hub-Spam-Report: AWL=0.120, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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: titan.w3.org 1cTGFp-0005bG-3Y dd45d95e45a3078d89a4ab3d8c728e59
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/CABkgnnXb+axOZT4xiQWYPZQFyNqs9eTP9wGcDeS19JAhRoMxMA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33294
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>
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