Re: Adding user@ to HTTP[S] URIs

Rick van Rein <rick@openfortress.nl> Mon, 27 January 2020 16:17 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 893121208BF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Jan 2020 08:17:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.752
X-Spam-Level:
X-Spam-Status: No, score=-2.752 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, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=openfortress.nl
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 hi5N36kwYGTw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Jan 2020 08:17:11 -0800 (PST)
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 E5AD612089A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 27 Jan 2020 08:17:10 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1iw71v-0004jF-I3 for ietf-http-wg-dist@listhub.w3.org; Mon, 27 Jan 2020 16:14:27 +0000
Resent-Date: Mon, 27 Jan 2020 16:14:27 +0000
Resent-Message-Id: <E1iw71v-0004jF-I3@frink.w3.org>
Received: from titan.w3.org ([2603:400a:ffff:804:801e:34:0:4c]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <rick@openfortress.nl>) id 1iw71t-0004iU-Hp for ietf-http-wg@listhub.w3.org; Mon, 27 Jan 2020 16:14:25 +0000
Received: from lb1-smtp-cloud9.xs4all.net ([194.109.24.22]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <rick@openfortress.nl>) id 1iw71q-0001Yy-Ao for ietf-http-wg@w3.org; Mon, 27 Jan 2020 16:14:25 +0000
Received: from popmini.vanrein.org ([83.161.146.46]) by smtp-cloud9.xs4all.net with ESMTP id w71jiMLsRT6sRw71ki8itM; Mon, 27 Jan 2020 17:14:16 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=openfortress.nl; i=rick@openfortress.nl; q=dns/txt; s=fame; t=1580141649; h=message-id : date : from : mime-version : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding : date : from : subject; bh=abgxnA2Z9fSj2q+xezVQg9dyhMgc+jw/yv6YQnBYQWg=; b=qjPgpVRh0g/yDpJTFrx+Qu5+BoZQlV3ML5ADZ8iAyfjVz3EMs0JWT1An qqwHduy/ainiUtp02RqxB5HpRaucAluOS+qfShKgUA8ie97xwcGdC6Ou2c 7YfRlnVoOucM6weTzcqnO12dugRCf15kXpkR4fAGLml4a+h/VsFP+atxU=
Received: by fame.vanrein.org (Postfix, from userid 1006) id 6D3C3256DE; Mon, 27 Jan 2020 16:14:09 +0000 (UTC)
Received: from airhead.local (phantom.vanrein.org [83.161.146.46]) by fame.vanrein.org (Postfix) with ESMTPA id 03962254F2; Mon, 27 Jan 2020 16:14:06 +0000 (UTC)
Message-ID: <5E2F0C4C.3090907@openfortress.nl>
Date: Mon, 27 Jan 2020 17:14:04 +0100
From: Rick van Rein <rick@openfortress.nl>
User-Agent: Postbox 3.0.11 (Macintosh/20140602)
MIME-Version: 1.0
To: Amos Jeffries <squid3@treenet.co.nz>
CC: ietf-http-wg@w3.org
References: <5E2B76EC.5000300@openfortress.nl> <BB50C7B7-3861-4054-AFB7-6F1C287AFEE6@gmail.com> <5E2C2039.7080303@openfortress.nl> <0bb7f153-57ea-7cb4-59e2-26ee2e41d928@treenet.co.nz> <5E2C4738.8010609@openfortress.nl> <alpine.DEB.2.20.2001251614520.15685@tvnag.unkk.fr> <5E2C65D7.7030408@openfortress.nl> <4859592D-1B93-49E0-9661-5E24FDAC276F@bzfx.net> <5E2D630A.604@openfortress.nl> <CAEaz5mtYyvei8wxb4_1H36N2PkrU+-47uqn2KtitqMtd9LRwsQ@mail.gmail.com> <5E2ED158.1030909@openfortress.nl> <fd02c6e8-f04e-48c0-708d-a9d11dbaba35@treenet.co.nz>
In-Reply-To: <fd02c6e8-f04e-48c0-708d-a9d11dbaba35@treenet.co.nz>
X-Enigmail-Version: 1.2.3
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bogosity: Unsure, tests=bogofilter, spamicity=0.520000, version=1.2.4
X-CMAE-Envelope: MS4wfAyToXwRz6djDiWu9b+AnxKAPGoiExdncn93fZa2oS/5dWRMqimiKwwb7U7JCkDYMwkOs+kCcMfqdUBW3xBOBUpv68yCdlyV2yydlDrOUuGO8bKisLYW C6OI5whEv4DP6RIMsO1GQiGmkc9Dyo3ibd22m6z1qPKVaVpfevhuO4r1sH6jQm9XMpg2f8fXzM9RLQ==
Received-SPF: pass client-ip=194.109.24.22; envelope-from=rick@openfortress.nl; helo=lb1-smtp-cloud9.xs4all.net
X-W3C-Hub-Spam-Status: No, score=-4.8
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1iw71q-0001Yy-Ao 796c1808a31c4247f222199ba0a607e3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Adding user@ to HTTP[S] URIs
Archived-At: <https://www.w3.org/mid/5E2F0C4C.3090907@openfortress.nl>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/37307
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>

Hi Amos,

>> Every time I look at HTTP, it seems to
>> have invented its own wheels and not be willing to mingle with the other
>> protocols.
> 
> How many of those other protocols are newer than HTTP though?

I did not mean any disrespect; sorry if it came across like that.  I
know how slowly protocols change, as a result of user base.

>> This decoupling is at the heart of my reasoning.  It makes sense in most
>> of the protocols, but HTTP has, probably due to Basic/Digest
>> authentication, gotten them mixed up.
> 
> It is not *wrong*, so much as it is burdened by the large amount of
> historic software relying on and assuming different definitions.

I know this effect, but am nonetheless surprised that 0.9 is still around.

>>> It is not obvious how this change might affect idempotency eg. what
>>> happens when Mary gets a different document then John based on routing
>>> with the new User: header.
>> Idempotency means that doing the same thing again has no added effect.
>> What does that mean here?
> 
> That "PUT http://john@example.com/" stores the correct document on the
> server, in the correct place. Even when the server does not understand
> the new header.
> The client MUST NOT assume that the header works everywhere all the time.

Ah, that is a clear question, will need to think it over.

> I see only use of Vary header for caching.
> 
> It would be useful to add text clarifying non-GET requests cannot depend
> on the header being obeyed. Such as the above a client using PUT.

Will look into that; of course I am open to text by others too.

FWIW, the next iteration will address compatibility with Basic.

-Rick