Re: Updating Digest header RFC3230 using "selected representation"

Rob Sayre <sayrer@gmail.com> Tue, 23 July 2019 20:15 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 B67C012039B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Jul 2019 13:15:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.75
X-Spam-Level:
X-Spam-Status: No, score=-2.75 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, HTML_MESSAGE=0.001, 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=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 HivaHsqj_mYi for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Jul 2019 13:15:56 -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 85F7912099A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Jul 2019 13:15:56 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1hq19s-0004aF-Re for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Jul 2019 20:13:12 +0000
Resent-Date: Tue, 23 Jul 2019 20:13:12 +0000
Resent-Message-Id: <E1hq19s-0004aF-Re@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 <sayrer@gmail.com>) id 1hq19q-0004ZD-8I for ietf-http-wg@listhub.w3.org; Tue, 23 Jul 2019 20:13:10 +0000
Received: from mail-io1-xd2a.google.com ([2607:f8b0:4864:20::d2a]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from <sayrer@gmail.com>) id 1hq19o-0008NX-D7 for ietf-http-wg@w3.org; Tue, 23 Jul 2019 20:13:10 +0000
Received: by mail-io1-xd2a.google.com with SMTP id k20so84557775ios.10 for <ietf-http-wg@w3.org>; Tue, 23 Jul 2019 13:12:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mSxlUxicr8JEMdVKpTuBYhnY5QH+1fntd+UJTBgdVUI=; b=iHYNTNL7TicXdsDlR7iUKdfpL9c2EWUi14iCRJOGdVl0TuMan9oO2pcnN0uLJ7owEd jkNALka1t4JibPa837O2FpPGWKKmj7ZYgirR5hFHrQ/gxjhRKA1Df5rAQw5Gc+Spm8LT DFTOBt7Y68GJHKrg/wIX1pbXz8CR/3QH+UPp2tco0MP4PFckPHfde95VCBWJTGNaDYA4 Mk0wO27CPFajyjj87ZL0cFfHymba+2+Ba0B21cFeT0hrb4hbATfePpr9CK6DMMvSpwnF aGUaTatqUUhg9Vel+k5vyRcsKfmMLApHTO6+G49wiHaJ8InamLSsubo6yACABe5Lpr7+ Tgqw==
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=mSxlUxicr8JEMdVKpTuBYhnY5QH+1fntd+UJTBgdVUI=; b=P6fdXTgF88R1F7Mxr5wyOUTFSwRdxpg51DjLvqFLkLVbgk13q8usk9qMRx8VN8MqUx HJF1VoXJgrDB9orIcqq99KimW8kc/jsEpFGeIDWqqX+HxpvcdFNcaT0MlRR5FU8wmUuu kdJ0++6F4nZwQi6QuBKkxfhPWDnVCnqVni6JFcQoBB7rnLAIlQAVYCgOlNch489L9Tn9 6fqVSJ4w6WI9R32v0HJUEkKg7M11QS5wy9+dqPvy3lil/SuYGOwzetw73LhLA5X1mod7 kqtatWPuiC5uZI1rGMRgZTE4jTcS/QFSeN2/SpbQCbypunPTemmoahBZFlSFsr6WcbT8 QwZQ==
X-Gm-Message-State: APjAAAXjEfAKY3yM648IpzxT/Js4J6Vzd7h5kQGBSTU0SccGvWkjbDgX KelshXjJbe/vF9GZXH+kIuScNLdYoNm8p2eQH2g=
X-Google-Smtp-Source: APXvYqyINO3h4bBwXO4Y6v6X9eJetT16KJMhIsaS58DYLpi0G4Hj26S+XRThC1lzNEfM0uZ6l/ov1TcWFnATdcYTZ4Y=
X-Received: by 2002:a5e:c00e:: with SMTP id u14mr40372269iol.196.1563912762310; Tue, 23 Jul 2019 13:12:42 -0700 (PDT)
MIME-Version: 1.0
References: <CAMRHeuyk-xv2oRmcVrFaesneVi4F-EcuttsJU5PKtGrVtP+gSA@mail.gmail.com> <CALGR9obe6mPMCW2O1gf0muWgoT4Nusy8CsoixgENWKTSEf4rGA@mail.gmail.com> <CAMRHeux6=i0Xkg5XPXp8PCZiiLopGkYGTPWztghfzgUx+XF5=Q@mail.gmail.com> <CALGR9oYbZpKMThSJqSAheRfE8NVnDkhMYSbRP-gYnc5-5k8LmQ@mail.gmail.com>
In-Reply-To: <CALGR9oYbZpKMThSJqSAheRfE8NVnDkhMYSbRP-gYnc5-5k8LmQ@mail.gmail.com>
From: Rob Sayre <sayrer@gmail.com>
Date: Tue, 23 Jul 2019 13:12:30 -0700
Message-ID: <CAChr6SyxGEfV1rHjX8oMLvB-osdgsbjWjkeWAWbPfGAFdC4Zwg@mail.gmail.com>
To: Lucas Pardue <lucaspardue.24.7@gmail.com>
Cc: Roberto Polli <roberto@teamdigitale.governo.it>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="000000000000a85152058e5ed0fc"
Received-SPF: pass client-ip=2607:f8b0:4864:20::d2a; envelope-from=sayrer@gmail.com; helo=mail-io1-xd2a.google.com
X-W3C-Hub-Spam-Status: No, score=-1.8
X-W3C-Hub-Spam-Report: AWL=0.383, BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1hq19o-0008NX-D7 702a1a75f72f79ce1ec900ab0122e4fa
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Updating Digest header RFC3230 using "selected representation"
Archived-At: <https://www.w3.org/mid/CAChr6SyxGEfV1rHjX8oMLvB-osdgsbjWjkeWAWbPfGAFdC4Zwg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/36824
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>

This draft looks good to me.

One issue that prevented the adoption of this header and related ones (e.g.
Content-MD5) was that HTTP/1.1 trailers had a lot of interoperability
problems. This made it expensive for large files, or impossible to use for
message bodies that couldn't be pre-calculated.

I think using trailers should work these days, right? From what I
understand, this might be implied in the header model of HTTP2+, but I
think addressing this issue in the draft might be helpful.

At first glance, this header looks redundant given that HTTP is now done
over TLS, but I've seen this kind of feature catch bugs behind TLS
termination many times.

thanks,
Rob




On Tue, Apr 16, 2019 at 2:57 AM Lucas Pardue <lucaspardue.24.7@gmail.com>
wrote:

> I think you're on the right track.
>
> Present a salient problem statement, seek others also interested, prepare
> some text that address the problem (Google doc is ok to start with,
> focusing on content not formatting). At some point we can get an individual
> Internet Draft prepared (markdown GitHub workflow is relatively
> straightforward) and see if a working group like HTTPbis has interest in
> adopting it for further work / publication.
>
> Lucas
>
> On Tue, 16 Apr 2019, 10:44 Roberto Polli, <roberto@teamdigitale.governo.it>
> wrote:
>
>> Hi Lucas,
>>
>>
>> Il giorno mar 16 apr 2019 alle ore 11:33 Lucas Pardue
>> <lucaspardue.24.7@gmail.com> ha scritto:
>> > On Tue, 16 Apr 2019, 10:29 Roberto Polli, <
>> roberto@teamdigitale.governo.it> wrote:
>> >> as the Digest header is still used, I'm willing to refresh the old spec
>> >>
>> >> - https://tools.ietf.org/html/rfc3230
>> >>
>> >> using the new definitions of RFC723x (eg. selected representation)
>> >> and untagling it from delta-encoding.
>>
>> > Yes I would like to see an update.
>> > This spec is no longer consistent with other HTTP docs, and leads to
>> some circular arguments.
>> > Despite that I think it still has a valid use.
>> Great! Here's an editable google docs:
>>
>>   -
>> https://docs.google.com/document/d/1p8KBR_dQKfh7PgLTOYXg_htMAME8nnEblKRC0DSH5_o/edit
>>
>> > I'd like to see the document updated to align with the current HTTP
>> core work, I'm happy to help if I can.
>> I need some guidance on the ietf workflow (Eg. proposing the draft,
>> ..) as it's the first time
>> I'm doing that :D
>>
>> I hope that the technical side can converge quic-ly :D
>>
>> Have a nice day,
>> R:
>>
>>
>>
>>
>> >>
>> >> Hi @all,
>> >>
>> >>
>> >> Is there somebody interested in supporting that effort?
>> >>
>> >> Thanks and have a nice day,
>> >> R.
>> >>
>> >> --
>> >> Roberto Polli
>> >> Full Stack Developer
>> >> M. +39 3406522736
>> >> ·D
>> >> TEAM PER LA
>> >> TRASFORMAZIONE
>> >> DIGITALE
>> >> Presidenza del Consiglio dei Ministri
>> >> teamdigitale.governo.it
>> >>
>> >> Il Team per la Trasformazione Digitale, salvo eccezioni, comunica con
>> >> le altre Amministrazioni via posta elettronica ordinaria e non posta
>> >> elettronica certificata, in conformità a quanto previsto dall’art.47
>> >> del Codice dell’Amministrazione Digitale.
>> >>
>>
>>
>> --
>> Roberto Polli
>> Full Stack Developer
>> M. +39 3406522736
>> ·D
>> TEAM PER LA
>> TRASFORMAZIONE
>> DIGITALE
>> Presidenza del Consiglio dei Ministri
>> teamdigitale.governo.it
>>
>> Il Team per la Trasformazione Digitale, salvo eccezioni, comunica con
>> le altre Amministrazioni via posta elettronica ordinaria e non posta
>> elettronica certificata, in conformità a quanto previsto dall’art.47
>> del Codice dell’Amministrazione Digitale.
>>
>