Re: New Version Notification for draft-kazuho-early-hints-status-code-00.txt

Kazuho Oku <kazuhooku@gmail.com> Tue, 01 November 2016 07:13 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 5107E1294A1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 1 Nov 2016 00:13:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.998
X-Spam-Level:
X-Spam-Status: No, score=-7.998 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_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-1.497, 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 vuBMHoCAa1ct for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 1 Nov 2016 00:13:44 -0700 (PDT)
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 ABF50129420 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 1 Nov 2016 00:13:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1c1TCG-0004oc-7q for ietf-http-wg-dist@listhub.w3.org; Tue, 01 Nov 2016 07:09:24 +0000
Resent-Date: Tue, 01 Nov 2016 07:09:24 +0000
Resent-Message-Id: <E1c1TCG-0004oc-7q@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 <kazuhooku@gmail.com>) id 1c1TCA-0004li-Co for ietf-http-wg@listhub.w3.org; Tue, 01 Nov 2016 07:09:18 +0000
Received: from mail-wm0-f47.google.com ([74.125.82.47]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <kazuhooku@gmail.com>) id 1c1TC3-0005cb-I6 for ietf-http-wg@w3.org; Tue, 01 Nov 2016 07:09:13 +0000
Received: by mail-wm0-f47.google.com with SMTP id n67so269553089wme.1 for <ietf-http-wg@w3.org>; Tue, 01 Nov 2016 00:08:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=jjr+hBAIWga8UXp8F5i0SyjmG3wITV91rrGH8jxBGBk=; b=kSVRS2VCaNKnL9HgynLWJWiA/O5bbDSo2h6qlFmx95q59DuB3jePZ9ERfYg30LvDyy 2wuyhlPdcVyr4hehDHkMGxxBKCZfioQkG0ieC97fc758lA6wiWGEXsfXBKiTMjx1ThNS vygqxCfqDaVniz+pWZ2pjByxRs/mX5bJey2bDnvivIUijB6O6sVZr/OMQI3PZZMRomFW Oo+JyrKk3riT+FbWqlbSpeilULD4WxOjOlo14Igd1Gmd5PVMJ1SSK/APRsw6BtUlRvD6 pUYnrxMsPtCAckvjbNkM1EwQBXdJh7vvp6vnzXoxX4ECsCGxGiogwh50VwwxFnmxN2L+ 1hBg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=jjr+hBAIWga8UXp8F5i0SyjmG3wITV91rrGH8jxBGBk=; b=kjfF/OkwvkCfqIWRxMbcIMzKlxN2u9JRckwMfcf2VhhtqKI8C+JYt+SUxhPCDPYYKa NNhhFQdts44Fl77At+dc9ACEWTZw/2fqAhZlCT8JtdS477Yasq9sp7yDwV6UCCcHifna XMYvXsrE8K3MJm5gNyHr3vfAq6SGaDfo9Br3imD0SKZW45h66f/fOMI0HGFVqB79QiVU nuVTKddFYzDSIOxxR5drTmhUNev3Jmk5jtWkhD1Dv+Ni3ln2UoJDSRPiL6mmS7cGGmWd q/yPkwn7cD9+5Hmbb1NefuJ8Jw8OoFgu91YjWyxG76y+T4j4Yi/afdwRuhHSgAiyZSHi idRg==
X-Gm-Message-State: ABUngvdFAMxapytxqWUXH3adD8zaL8hNx2Or8/4ByPiL4bHF5tiT48wOPR/uobkrLt5hRyACCAhSAmWc+GcnHg==
X-Received: by 10.28.26.80 with SMTP id a77mr195509wma.31.1477984124447; Tue, 01 Nov 2016 00:08:44 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.163.69 with HTTP; Tue, 1 Nov 2016 00:08:43 -0700 (PDT)
In-Reply-To: <5f155947-e74c-0761-b5d4-64f8aabec846@gmx.de>
References: <147792294052.32397.15544665152412530374.idtracker@ietfa.amsl.com> <CANatvzwm_T-HW0yT1MAWEUrfw5OAVkmAZe890575qg8HuU9Z_Q@mail.gmail.com> <86447165-100C-407D-8512-A32F93B11BBA@lukasa.co.uk> <CANatvzzRvbEjy4AqDHeRtQfcJX0Ls14qJf0qv0QWZBMMd-HRnQ@mail.gmail.com> <5f155947-e74c-0761-b5d4-64f8aabec846@gmx.de>
From: Kazuho Oku <kazuhooku@gmail.com>
Date: Tue, 01 Nov 2016 16:08:43 +0900
Message-ID: <CANatvzwNDHd0bhDSWBZ2DxezxxrLwLFjZ7PsyCMthy64_xh4Bg@mail.gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Cory Benfield <cory@lukasa.co.uk>, 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=74.125.82.47; envelope-from=kazuhooku@gmail.com; helo=mail-wm0-f47.google.com
X-W3C-Hub-Spam-Status: No, score=-5.1
X-W3C-Hub-Spam-Report: AWL=-1.123, 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, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1c1TC3-0005cb-I6 cc8a1527558dd214936766f4bbe97b2c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-kazuho-early-hints-status-code-00.txt
Archived-At: <http://www.w3.org/mid/CANatvzwNDHd0bhDSWBZ2DxezxxrLwLFjZ7PsyCMthy64_xh4Bg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/32782
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>

2016-11-01 15:32 GMT+09:00 Julian Reschke <julian.reschke@gmx.de>:
> On 2016-11-01 02:32, Kazuho Oku wrote:
>>
>> Cory, Julian, thank you for looking into the I-D.
>>
>> Thank you for looking into the existing implementations using Python.
>> Your research makes it evident that some kind of negotiation is
>> mandatory if we are going to use 103 on the public Internet.
>
>
> Having to negotiate it makes me sad.

Thank you for the suggestion.

I think having negotiation is a good thing for Early Data, since there
is no point in sending Early Data to a client that does not recognizes
the headers included in the informational response. So I'd expect that
if we define an Accept-EH header, a server serving to the Internet
will send Early Data only when the header has included in the request.

OTOH, we do not need to use Accept-EH header on a deployment in which
the peer is known to support Early Data.

Considering the two, having a clause like the following (with
non-normative text explaining the background) seems reasonable to me:

    “a server SHOULD NOT send Early Data unless the client has sent an
Accept-EH header”

Does this look fine to you?

>> For the purpose, defining an Accept-EH header (much like Accept-CH)
>> might make sense. For example, a client can send `Accept-EH: Link` to
>> indicate that it will recognize link headers within the Early Hints.
>
>
> Can't we use "Prefer"?
>
>> For HTTP/2, my tendency leans toward using HTTP headers rather than
>> having its own way of negotiation, considering the fact that the
>> information transferred using Early Hints could be considered
>> end-to-end rather than hop-by-hop, and also that we can expect HPACK
>> to compress Accept-EH header efficiently.
>
>
> For HTTP/2, I think we should push stronger to fix the code and not
> negotiate at all.
>
>>>
>>> I’ll start filing bugs against relevant repositories to address this
>>> behaviour so that the Python ecosystem is less embarrassingly unprepared for
>>> further 1XX status codes, but in the short-to-medium term it would be much
>>> better if we could negotiate the 103 status code rather than assume it will
>>> function correctly.
>>
>>
>> Fantastic! Thank you for all your efforts.
>
>
> Best regards, Julian
>



-- 
Kazuho Oku