Re: Last Call: <draft-ietf-httpbis-early-hints-03.txt> (An HTTP Status Code for Indicating Hints) to Experimental RFC

Willy Tarreau <w@1wt.eu> Sun, 25 June 2017 11:53 UTC

Return-Path: <w@1wt.eu>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E080B127B60; Sun, 25 Jun 2017 04:53:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 ajOgvB5roILN; Sun, 25 Jun 2017 04:53:19 -0700 (PDT)
Received: from 1wt.eu (wtarreau.pck.nerim.net [62.212.114.60]) by ietfa.amsl.com (Postfix) with ESMTP id B3C8712783A; Sun, 25 Jun 2017 04:53:18 -0700 (PDT)
Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id v5PBrF2k029104; Sun, 25 Jun 2017 13:53:15 +0200
Date: Sun, 25 Jun 2017 13:53:15 +0200
From: Willy Tarreau <w@1wt.eu>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: ietf@ietf.org, httpbis-chairs@ietf.org, Mark Nottingham <mnot@mnot.net>, draft-ietf-httpbis-early-hints@ietf.org, ietf-http-wg@w3.org, alexey.melnikov@isode.com
Subject: Re: Last Call: <draft-ietf-httpbis-early-hints-03.txt> (An HTTP Status Code for Indicating Hints) to Experimental RFC
Message-ID: <20170625115315.GA29097@1wt.eu>
References: <149806437201.15854.12299810594896460001.idtracker@ietfa.amsl.com> <dcdff226-e12d-bb83-982f-8253f46ae935@gmx.de> <20170625104629.GA29021@1wt.eu> <602955e2-cfd0-e4c8-7afa-e8f3ea78ab3a@gmx.de> <20170625112842.GA29052@1wt.eu> <8e93bbfc-b609-0392-5c78-114103accaed@gmx.de>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <8e93bbfc-b609-0392-5c78-114103accaed@gmx.de>
User-Agent: Mutt/1.6.1 (2016-04-27)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/EisCZ1ggI7GBEYH719BfdNmrI28>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 25 Jun 2017 11:53:21 -0000

On Sun, Jun 25, 2017 at 01:36:59PM +0200, Julian Reschke wrote:
> > > Understood. But is this a requirement or just a suggestion? Does
> > > a client
> > > need to forget the information from the 103 when it's not repeated in the
> > > final response?
> > 
> > Hmmm the text says :
> >    "This memo defines a status code for sending an informational response
> >     ([RFC7231], Section 6.2) that contains header fields that are likely
> >     to be included in the final response"
> > 
> > Thus I think that the final header fields are the real ones, and that
> > those sent early are more about hints to help the client get mostly
> > prepared. Can there be a conflict between two overlapping header field
> > values for the same link ? If so, some text needs to be appended to
> > mandate that the final response the the only authoritative one and that
> > the interim ones are only here to help fill silence periods on the link.
> 
> I'm interested in the case where the Link appears in the 103 but not in the
> final response...

I think it will be very common, because I see a cool opportunity here for
edge gateways to send a few links regardless of what the origin server thinks
about this. I'm even considering implementing this capability into haproxy
because I think it can bring some value. So if this is going to have side
effects, it would be nice that they are properly estimated.

Willy