Re: New Version Notification for draft-nottingham-http-availability-hints-00.txt

Glenn Strauss <gs-lists-ietf-http-wg@gluelogic.com> Tue, 14 March 2023 01:56 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 6E7EBC151551 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 13 Mar 2023 18:56:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.648
X-Spam-Level:
X-Spam-Status: No, score=-2.648 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JxMwd_hMOPS9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 13 Mar 2023 18:56:49 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CEF5CC15153E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 13 Mar 2023 18:56:49 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1pbtu2-00A3bR-3T for ietf-http-wg-dist@listhub.w3.org; Tue, 14 Mar 2023 01:56:38 +0000
Resent-Date: Tue, 14 Mar 2023 01:56:38 +0000
Resent-Message-Id: <E1pbtu2-00A3bR-3T@lyra.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <gs-lists-ietf-http-wg@gluelogic.com>) id 1pbtu0-00A3ah-9Z for ietf-http-wg@listhub.w3.org; Tue, 14 Mar 2023 01:56:36 +0000
Received: from smtp1.atof.net ([52.86.233.228]) by mimas.w3.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA (Exim 4.94.2) (envelope-from <gs-lists-ietf-http-wg@gluelogic.com>) id 1pbttz-002wdp-8H for ietf-http-wg@w3.org; Tue, 14 Mar 2023 01:56:36 +0000
X-Spam-Language: en
X-Spam-Relay-Country:
X-Spam-DCC: B=; R=smtp1.atof.net 1102; Body=1 Fuz1=1 Fuz2=1
X-Spam-RBL:
X-Spam-PYZOR: Reported 0 times.
Date: Mon, 13 Mar 2023 21:56:19 -0400
From: Glenn Strauss <gs-lists-ietf-http-wg@gluelogic.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Asbjørn Ulsberg <asbjorn@ulsberg.no>, HTTP Working Group <ietf-http-wg@w3.org>, Mike Bishop <mbishop@evequefou.be>
Message-ID: <ZA/UQ4V8D1LGZrF0@xps13>
References: <167858922923.25164.110410811191416030@ietfa.amsl.com> <3438E01E-8BD6-49FF-AF38-54D49E26C354@mnot.net> <PH0PR22MB31020BC7DDB5ACA72DAB78AADAB99@PH0PR22MB3102.namprd22.prod.outlook.com> <94067cd9-7c6c-48f4-8075-11abf6b6d0a6@Spark> <ZA+cMLC9oHHieL+i@xps13>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <ZA+cMLC9oHHieL+i@xps13>
Received-SPF: pass client-ip=52.86.233.228; envelope-from=gs-lists-ietf-http-wg@gluelogic.com; helo=smtp1.atof.net
X-W3C-Hub-Spam-Status: No, score=-6.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1pbttz-002wdp-8H 410e0f6250eff04a9623f8aa833cb722
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-nottingham-http-availability-hints-00.txt
Archived-At: <https://www.w3.org/mid/ZA/UQ4V8D1LGZrF0@xps13>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/50845
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>

Should these Avail-* headers be sent in every response?
While HPACK and QPACK can reduce the number of bytes sent on the wire,
there is still the processing and encoding overhead on the server.

If a proxy (or an indexer) might find this information useful,
should these additional headers be sent only in response to OPTIONS
for that resource?  Alternatively, should a client or proxy
interested in this additional information send an additional request
header, such as Accept-Availability?  Or should a server send the
additional headers if the request included any Accept-* request
header, or with OPTIONS?

If not suggested otherwise by the draft, what will likely happen is
that admins will configure generic webservers to always send these
response headers with every single request.  (That may end up what
happens anyway in the common case.)

Cheers, Glenn

On Mon, Mar 13, 2023 at 05:57:14PM -0400, Glenn Strauss wrote:
> What about replacing "Accept-" in request from client
> with "Vary-" in response from server?  This might indicate
> to the client (or intermediate proxy) how the server might
> "vary" responses for that vector.  A client might choose to
> look at Vary-* only for related items listed in Vary.
> 
> This might extend to Vary-User-Agent, though that does not
> begin with Accept-*.  (If Accept-*, then Vary-* without
> repeating the Accept-, e.g. not Vary-Accept-Encoding).
> 
> BTW, the draft does not highlight that "Accept-" prefix for
> items in the Vary response header is not included in the name
> of the corresponding "Avail-*" response header.
> 
> Cheers, Glenn
> 
> On Mon, Mar 13, 2023 at 09:16:13PM +0100, Asbjørn Ulsberg wrote:
> > I too like the spec. I’m also +1 with Mike on the “Avail” prefix. If we want to save characters, can’t “Has” work instead? “Has-Encoding”, and “Has-Language” sounds good to me, at least.
> > 
> > --
> > Asbjørn Ulsberg    -=|=-    asbjorn@ulsberg.no
> > «He's a loathsome offensive brute, yet I can't look away»
> > On 13 Mar 2023, 19:37 +0100, Mike Bishop <mbishop@evequefou.be>, wrote:
> > > Broadly, I like it.  I think Variants had a lot of potential to improve caching and am disappointed it hasn’t made more progress; this might be an easier way to approach the problem.
> > >
> > > It seems like you’re moving in a direction where:
> > >
> > > • These headers are always lists
> > > • Equivalence classes MAY be indicated by including a sublist as a list element, for axes where it’s possible for different values to produce identical responses
> > > • One list element MAY be indicated as default, for axes where a default makes sense and isn’t already implicit
> > >
> > >
> > > It’d be nice to be able to define this more generally, but you may be on the right track that many of the Accept-* headers have enough individual quirks that they’ll all have to be separately defined.
> > >
> > > Minor nits:
> > >
> > > • I’m unenthused by “Avail” as a prefix here, purely because it’s an actual word that isn’t actually what you mean.  Do we really need to save those four characters?
> > > • 5.3, Avail-Format => Avail-Language
> > >
> > >
> > > From: Mark Nottingham <mnot@mnot.net>
> > > Sent: Saturday, March 11, 2023 9:49 PM
> > > To: HTTP Working Group <ietf-http-wg@w3.org>
> > > Subject: Fwd: New Version Notification for draft-nottingham-http-availability-hints-00.txt
> > >
> > > FYI - this is a draft that I think is suitable for replacing the Variants specification. It conveys roughly the same information, but in a much more simple and intuitive way. Many parts are just sketched out to be filled in later, but it should be possible to get the general idea being proposed.
> > >
> > > Thoughts? If there's interest, I might ask for five minutes in Yokohama to talk about adoption.
> > >
> > > Cheers,
> > >
> > >
> > >
> > > > Begin forwarded message:
> > > >
> > > > From: internet-drafts@ietf.org
> > > > Subject: New Version Notification for draft-nottingham-http-availability-hints-00.txt
> > > > Date: 12 March 2023 at 1:47:09 pm AEDT
> > > > To: "Mark Nottingham" <mnot@mnot.net>
> > > >
> > > >
> > > > A new version of I-D, draft-nottingham-http-availability-hints-00.txt
> > > > has been successfully submitted by Mark Nottingham and posted to the
> > > > IETF repository.
> > > >
> > > > Name:                  draft-nottingham-http-availability-hints
> > > > Revision:              00
> > > > Title:                     HTTP Availability Hints
> > > > Document date:               2023-03-11
> > > > Group:                  Individual Submission
> > > > Pages:                  10
> > > > URL:            https://www.ietf.org/archive/id/draft-nottingham-http-availability-hints-00.txt
> > > > Status:         https://datatracker.ietf.org/doc/draft-nottingham-http-availability-hints/
> > > > Html:           https://www.ietf.org/archive/id/draft-nottingham-http-availability-hints-00.html
> > > > Htmlized:       https://datatracker.ietf.org/doc/html/draft-nottingham-http-availability-hints
> > > >
> > > >
> > > > Abstract:
> > > >   This specification defines availability hints, a new class of HTTP
> > > >   responses headers that augment the information in the Vary header
> > > >   field.
> > > >
> > > >
> > > >
> > > >
> > > > The IETF Secretariat
> > > >
> > >
> > > --
> > > Mark Nottingham   https://www.mnot.net/
> > >