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

Glenn Strauss <gs-lists-ietf-http-wg@gluelogic.com> Mon, 13 March 2023 22:00 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 7D8BAC169531 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 13 Mar 2023 15:00:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.648
X-Spam-Level:
X-Spam-Status: No, score=-7.648 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, 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 xWIlvKxw1ykf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 13 Mar 2023 15:00:10 -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 8F2C1C1522AD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 13 Mar 2023 15:00:10 -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 1pbqAZ-009X07-Q9 for ietf-http-wg-dist@listhub.w3.org; Mon, 13 Mar 2023 21:57:27 +0000
Resent-Date: Mon, 13 Mar 2023 21:57:27 +0000
Resent-Message-Id: <E1pbqAZ-009X07-Q9@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) 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 1pbqAX-009WzN-Mz for ietf-http-wg@listhub.w3.org; Mon, 13 Mar 2023 21:57:26 +0000
Received: from smtp1.atof.net ([52.86.233.228]) by titan.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 1pbqAU-009klF-J3 for ietf-http-wg@w3.org; Mon, 13 Mar 2023 21:57:25 +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 17:57:04 -0400
From: Glenn Strauss <gs-lists-ietf-http-wg@gluelogic.com>
To: Asbjørn Ulsberg <asbjorn@ulsberg.no>
Cc: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>, Mike Bishop <mbishop@evequefou.be>
Message-ID: <ZA+cMLC9oHHieL+i@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>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <94067cd9-7c6c-48f4-8075-11abf6b6d0a6@Spark>
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: titan.w3.org 1pbqAU-009klF-J3 1f0f3d720e25bb929d1b4c956b104f91
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+cMLC9oHHieL+i@xps13>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/50841
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>

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/
> >