Re: Fwd: New Version Notification for draft-nottingham-bikeshed-length-00.txt

Martin Thomson <mt@lowentropy.net> Wed, 18 March 2020 08:21 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 D2CE13A08C2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Mar 2020 01:21:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.751
X-Spam-Level:
X-Spam-Status: No, score=-2.751 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.249, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=lowentropy.net header.b=L4G/r+d2; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=le4sJ9H4
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 ZpodJl61aTHq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Mar 2020 01:21:36 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (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 B78593A08B8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Mar 2020 01:21:36 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1jETu4-0001H7-5h for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Mar 2020 08:18:16 +0000
Resent-Date: Wed, 18 Mar 2020 08:18:16 +0000
Resent-Message-Id: <E1jETu4-0001H7-5h@lyra.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mt@lowentropy.net>) id 1jETu2-0001GM-GX for ietf-http-wg@listhub.w3.org; Wed, 18 Mar 2020 08:18:14 +0000
Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mt@lowentropy.net>) id 1jETu0-00039Y-FH for ietf-http-wg@w3.org; Wed, 18 Mar 2020 08:18:14 +0000
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 9EBB15C00AF for <ietf-http-wg@w3.org>; Wed, 18 Mar 2020 04:18:00 -0400 (EDT)
Received: from imap2 ([10.202.2.52]) by compute2.internal (MEProxy); Wed, 18 Mar 2020 04:18:00 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lowentropy.net; h=mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=fm1; bh=3VyW8AiIW+/4n1uDX6ptuo4byfH3956 Ya4aKFpD8eMs=; b=L4G/r+d27RWj/7nMP0yYRHxTsHUxN+2aJlbQ5I2jn6pUTbU Ycrv6HXPb+qsNCUjPey0U5G0yilIF7AhpeU7A5i5Xv8hx4cJCM/NRuu0EIm5TWIF b9jAyjh3nCEAwnMMwjcfjK3Xs3PuzGcaQJ19iUewXCMlwDZG+d9tVOSBJ1cz6hzv AyI4zpAHj57I7Qek4SMxkFt/xi/YgLNeTcMIzYFsHCH0e/tl7vFGn73+35u4+izc lPA5udSNIyK98+Ae1fYA1cJIITFibeKBo/AA5kw8yjef2rjmqcpty/MVsyqTRNEK aEh/Njj9TSWLXohSJe6nI2oGt/z01JT7UtC1/dQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=3VyW8A iIW+/4n1uDX6ptuo4byfH3956Ya4aKFpD8eMs=; b=le4sJ9H4dvtXV5II5AOkq/ zoQ40rNvAmnu0Bb2ZBnWO63eQnuN1AE0m6WhrMH687QwEgEnxB2Zo2NMT8bafLj3 HvpKyJYmipLJYUdyUqvsgkw0vBhyKFOzqUQ9NgwORG2H1GO0Lx3QcQD6LSPpcuBR zUhvnL1z6iXVk1/iEth8+uSdKXIOLXAsQaxUFPv1eYypyU249Qq944xBVMfq0BB4 +LPQhhGQA8PMpSOOmi6Xdjtj+mGU2e6s2zU48dWLvItUheoMnw2ojK/o05CxuqlA W6F/EDqXYKnvGyRb28WJAeoBG1QduntoBlSrOX+Slsx4aM5CzwJuJF6CDGdQdlZQ ==
X-ME-Sender: <xms:ONlxXsooqQLb6I6Em33F35n-JxRWypIpHfExHviDgdZfPeMIVBk5tg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudefiedgudduhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecuogfuuhhsphgvtghtffhomhgrihhnucdlgeelmd enucfjughrpefofgggkfgjfhffhffvufgtsehttdertderreejnecuhfhrohhmpedfofgr rhhtihhnucfvhhhomhhsohhnfdcuoehmtheslhhofigvnhhtrhhophihrdhnvghtqeenuc ffohhmrghinhepghhithhhuhgsrdgtohhmpdhgihhthhhusgdrihhopdhivghtfhdrohhr ghdpmhhnohhtrdhnvghtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepmhhtsehlohifvghnthhrohhphidrnhgvth
X-ME-Proxy: <xmx:ONlxXoYfCs6UrV4Zk9nemMAp93VR1BV4D8kPWiNzLLS6DWx2Dyvl8A> <xmx:ONlxXoBxWIuUdKp2vgvZaKX5Ycq2p94lvdTtZAOidsctmhR5kEYMrA> <xmx:ONlxXrHqMShtcqncSyX4kYIFAuEwxWQJzuZ3MsO3UfYNkmyJc8JtyQ> <xmx:ONlxXgpZ4STchSR9AYFHWhavnpQJFmmCxMR2ZPlIYUvaB9LbNuQzOQ>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 69C90E00AC; Wed, 18 Mar 2020 04:18:00 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.1.7-991-g5a577d3-fmstable-20200305v3
Mime-Version: 1.0
Message-Id: <56a0617e-cfee-4c94-ab13-07c22ccf376b@www.fastmail.com>
In-Reply-To: <3DD75975-2CA3-4071-974C-922121689310@mnot.net>
References: <158449485958.32126.16514800548442242620@ietfa.amsl.com> <3DD75975-2CA3-4071-974C-922121689310@mnot.net>
Date: Wed, 18 Mar 2020 19:17:42 +1100
From: Martin Thomson <mt@lowentropy.net>
To: ietf-http-wg@w3.org
Content-Type: text/plain
Received-SPF: pass client-ip=66.111.4.27; envelope-from=mt@lowentropy.net; helo=out3-smtp.messagingengine.com
X-W3C-Hub-Spam-Status: No, score=-9.8
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1jETu0-00039Y-FH 29ad891803956bc549a24bee63c63673
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Fwd: New Version Notification for draft-nottingham-bikesh ed-length-00.txt
Archived-At: <https://www.w3.org/mid/56a0617e-cfee-4c94-ab13-07c22ccf376b@www.fastmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/37457
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 think that the expectation that this ultimately be accurate makes it no different than Content-Length.  Then you might be allowed to be different, with some appropriately loose definition that allows being off either a proportion of the overall or a fixed amount. Then it could be used to (for example) indicate the length of something that is being decompressed/compressed on the fly.  In a world with midders, the estimate could even be updated over time and converge on the actual length.

I agree with Willy about special rules for trailers.

I have opinions about the name, but I will refrain because the author clearly asked for that kind of restraint.

On Wed, Mar 18, 2020, at 12:29, Mark Nottingham wrote:
> FYI, as discussed in <https://github.com/httpwg/http-core/issues/276>.
> 
> Prettier version at <https://mnot.github.io/I-D/bikeshed-length/>.
> 
> 
> > Begin forwarded message:
> > 
> > *From: *internet-drafts@ietf.org
> > *Subject: **New Version Notification for draft-nottingham-bikeshed-length-00.txt*
> > *Date: *18 March 2020 at 12:27:39 pm AEDT
> > *To: *"Mark Nottingham" <mnot@mnot.net>
> > 
> > 
> > A new version of I-D, draft-nottingham-bikeshed-length-00.txt
> > has been successfully submitted by Mark Nottingham and posted to the
> > IETF repository.
> > 
> > Name: draft-nottingham-bikeshed-length
> > Revision: 00
> > Title: Advisory Content-Length for HTTP
> > Document date: 2020-03-18
> > Group: Individual Submission
> > Pages: 6
> > URL: https://www.ietf.org/internet-drafts/draft-nottingham-bikeshed-length-00.txt
> > Status: https://datatracker.ietf.org/doc/draft-nottingham-bikeshed-length/
> > Htmlized: https://tools.ietf.org/html/draft-nottingham-bikeshed-length-00
> > Htmlized: https://datatracker.ietf.org/doc/html/draft-nottingham-bikeshed-length
> > 
> > 
> > Abstract:
> >  The HTTP Content-Length header field is overloaded with (at least)
> >  two duties: message delimitation in HTTP/1, and metadata about the
> >  length of an incoming request body to the software handling it.
> > 
> >  This causes confusion, and sometimes problems. This document
> >  proposes a new header to untangle these semantics (at least
> >  partially).
> > 
> > 
> > 
> > 
> > Please note that it may take a couple of minutes from the time of submission
> > until the htmlized version and diff are available at tools.ietf.org.
> > 
> > The IETF Secretariat
> > 
> > 
> 
> --
> Mark Nottingham https://www.mnot.net/
>