Re: Empty lists in Structured Headers (#781)

Jeffrey Yasskin <jyasskin@google.com> Tue, 14 May 2019 22:31 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 49EB11201AF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 14 May 2019 15:31:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.509
X-Spam-Level:
X-Spam-Status: No, score=-10.509 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, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 G-F7XgBexMnw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 14 May 2019 15:31:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [IPv6:2603:400a:ffff:804:801e:34:0:38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6C7FE12004E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 14 May 2019 15:31:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1hQfuc-0002Sx-6b for ietf-http-wg-dist@listhub.w3.org; Tue, 14 May 2019 22:28:42 +0000
Resent-Date: Tue, 14 May 2019 22:28:42 +0000
Resent-Message-Id: <E1hQfuc-0002Sx-6b@frink.w3.org>
Received: from mimas.w3.org ([2603:400a:ffff:804:801e:34:0:4f]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <jyasskin@google.com>) id 1hQfuY-0002S7-QM for ietf-http-wg@listhub.w3.org; Tue, 14 May 2019 22:28:38 +0000
Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from <jyasskin@google.com>) id 1hQfuX-0003z9-Jh for ietf-http-wg@w3.org; Tue, 14 May 2019 22:28:38 +0000
Received: by mail-lf1-x132.google.com with SMTP id y19so418720lfy.5 for <ietf-http-wg@w3.org>; Tue, 14 May 2019 15:28:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wp1Sln24MdfKwpAt7aYL7oHSmxRZlBX64Obhjvz0Ox8=; b=Q/ukrOXpS9WdLe2vwPHcdyv9kmmtaRHtIeYg1wxEcogffitlhYfLO9x7anX052rhOf ++NARW1PNA5nO3CyiZE2e52rVIkpv2Y1F7WK0K+CxKrFr4POj6NFU/Dp0+CMUKStX+lX lptzEwSwqLZJgENk8dOvD8EobZSnESDku64GdiN5hIMejvUKBwffKoXkIPRXe5jwa7Ay k/k37BB+mBivTEDvv0eS6XTMjoJnM9LvIirfSvQAkpYtESWd7e5WEIbCkxX9fdFxoU+r rSsHE2Ds2aTNBIZ+VO8FfWw9qbtfXf+Z9f4ZIbPdPRzK2yF1hzc8MXIk/2wdrxHq7I5D szWw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wp1Sln24MdfKwpAt7aYL7oHSmxRZlBX64Obhjvz0Ox8=; b=nnt1vMzS/nvD53TNCVTvp9sLk9gO76vStVfMwvMXX9aavSwFW+g+62baHzMOn7Fpag q4rUGUKS5T3n3AWNRsB/bhb6EYwekAgKUFCxOcs0lnfmhyC3ZUgISGVT5Lkz27Tw0J5U F/PWZTLdlQmdErDqw/4D4dz6GZDYOUbKwd92CZbEMmbNs5mT7jyAqSYIJBZFBSMIhAAZ /mAQGutD+aZYUgvpmGba3wjjI9e3RgeRzRicmWAIJjZ2hQldAiHABPO14BEgL8vDB1ij uYRurFmPhINccND/QN0dlk4Tbt/efyb1F1HonkWxX0lVykKFn6QD4pXGrJbKvV+C2CHJ nFCg==
X-Gm-Message-State: APjAAAVfMmnWqx/TEWZai34zUDdHGbvne343E5RkbXcZdZIumsuzdRIl iUpauXBpkOKiDhpilsXyrNtGowJZqhL54ybyc4AG6w==
X-Google-Smtp-Source: APXvYqyI9M4iI4SQvJgfVR3PNBZsHh/Rs3nlBbVw5R2tMjmSSGuH5lM4rUM7YiR59ZaTf4+7T5dLmpJtzaPefYa2D/k=
X-Received: by 2002:ac2:41d7:: with SMTP id d23mr7583365lfi.118.1557872894020; Tue, 14 May 2019 15:28:14 -0700 (PDT)
MIME-Version: 1.0
References: <D99820F1-D169-468E-BA31-68AA710C3CC4@mnot.net> <B3BF258C-ECB2-4F07-83EF-2D491E236718@apple.com>
In-Reply-To: <B3BF258C-ECB2-4F07-83EF-2D491E236718@apple.com>
From: Jeffrey Yasskin <jyasskin@google.com>
Date: Tue, 14 May 2019 15:28:02 -0700
Message-ID: <CANh-dXkyeNrTD_dNEHLfiQLdEZT5WM2suXHH7v33tPHcfaQ1DA@mail.gmail.com>
To: Tommy Pauly <tpauly@apple.com>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, Poul-Henning Kamp <phk@phk.freebsd.dk>, Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=2a00:1450:4864:20::132; envelope-from=jyasskin@google.com; helo=mail-lf1-x132.google.com
X-W3C-Hub-Spam-Status: No, score=-19.3
X-W3C-Hub-Spam-Report: AWL=2.334, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1hQfuX-0003z9-Jh 1420d0545c64b2a5ca6fcdf0cfd331ac
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Empty lists in Structured Headers (#781)
Archived-At: <https://www.w3.org/mid/CANh-dXkyeNrTD_dNEHLfiQLdEZT5WM2suXHH7v33tPHcfaQ1DA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/36644
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: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

I have a conditional vote, and sorry for the complexity.

As a less-experienced person, a large part of the value of SH is that
it points me and my team toward best practices. We can say "X is a
structured header" and then only make the mistakes that are possible
within the guard rails.

If empty headers are something you recommend that new headers treat as
errors, I'd vote for A. If you instead recommend that new headers
allow empty values (and treat them either the same or different from
that header being absent), I'd vote for B. I don't think C is a good
idea, since it removes the advice SH could otherwise provide.

Jeffrey

From: Tommy Pauly <tpauly@apple.com>
Date: Tue, May 14, 2019 at 10:49 AM
To: ietf-http-wg@w3.org Group
Cc: Poul-Henning Kamp, Mark Nottingham

> Hello all,
>
> Thanks for the lively discussion we had on this topic! However, it looks like the conversation has petered out. As a working group, we should come to some consensus on the best way forward for this issue.
>
> I'd like to ask everyone to reply with which option they prefer of the of following, so we can get a sense of the group's opinion:
>
> A. Leave the document as is, not defining empty header values for SH (as requested by the editors). As noted on the list, this can allow future revisions to add support.
> B. Define empty header values for SH (as the issue requests).
> C. Do not allow empty header values for SH, but add formal text to the document explaining how to handle empty values.
>
> Please evaluate these based on what you think will help us converge and ship this document, and note that this is deciding how we define formal Structured Headers, not all or previous HTTP headers.
>
> Best,
> Tommy (chair hat on)
>
> > On May 1, 2019, at 10:15 PM, Mark Nottingham <mnot@mnot.net> wrote:
> >
> > (Editor hat on)
> >
> > <https://github.com/httpwg/http-extensions/issues/781>
> >
> > PHK and I have discussed this, and I think we agree that this issue should be closed without any change to the specification.
> >
> > Any further discussion? We'd like to get this spec shipped.
> >
> > Thanks,
> >
> > --
> > Mark Nottingham   https://www.mnot.net/
> >
> >
>
>