Re: Adding user@ to HTTP[S] URIs

Rick van Rein <rick@openfortress.nl> Sun, 26 January 2020 11:22 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 000EC120019 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 26 Jan 2020 03:22:04 -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 o0RP9RiiNOUj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 26 Jan 2020 03:22:03 -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 5F671120018 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 26 Jan 2020 03:22:03 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ivfxy-0006YF-Vh for ietf-http-wg-dist@listhub.w3.org; Sun, 26 Jan 2020 11:20:34 +0000
Resent-Date: Sun, 26 Jan 2020 11:20:34 +0000
Resent-Message-Id: <E1ivfxy-0006YF-Vh@frink.w3.org>
Received: from mimas.w3.org ([2603:400a:ffff:804:801e:34:0:4f]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <rick@openfortress.nl>) id 1ivfxx-0006X4-CN for ietf-http-wg@listhub.w3.org; Sun, 26 Jan 2020 11:20:33 +0000
Received: from lb2-smtp-cloud9.xs4all.net ([194.109.24.26]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <rick@openfortress.nl>) id 1ivfxv-0003YO-Fv for ietf-http-wg@w3.org; Sun, 26 Jan 2020 11:20:33 +0000
Received: from popmini.vanrein.org ([83.161.146.46]) by smtp-cloud9.xs4all.net with ESMTP id vfxqiF56zT6sRvfxri59Qu; Sun, 26 Jan 2020 12:20:27 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=openfortress.nl; i=rick@openfortress.nl; q=dns/txt; s=fame; t=1580037617; h=message-id : date : from : mime-version : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding : date : from : subject; bh=6o8CyrO+zzUI7Hb3uklq/F9tKXEoYKkWXXGnOFJpIgs=; b=AkZfphmIth1XSZba27ETlIrVMjJC0u9VTb/uMOfcGrBV5IqolLTO0sFe smCRg2cVAt312/TXoCQy//4ANDYXvPtV5gaeVChjDy6ze9FQ330JnhIU+Y 6ctDeZd2In4WdFsb4IyOIJR1wJ1LFFuqImeNPV6xNmPF6aHcGE/7TLeOI=
Received: by fame.vanrein.org (Postfix, from userid 1006) id 8EAAA25596; Sun, 26 Jan 2020 11:20:06 +0000 (UTC)
Received: from airhead.local (phantom.vanrein.org [83.161.146.46]) by fame.vanrein.org (Postfix) with ESMTPA id 37F3C2559A; Sun, 26 Jan 2020 11:20:01 +0000 (UTC)
Message-ID: <5E2D75E0.5040803@openfortress.nl>
Date: Sun, 26 Jan 2020 12:20:00 +0100
From: Rick van Rein <rick@openfortress.nl>
User-Agent: Postbox 3.0.11 (Macintosh/20140602)
MIME-Version: 1.0
To: Julian Reschke <julian.reschke@gmx.de>
CC: "HTTPbis WG (IETF)" <ietf-http-wg@w3.org>
References: <5E2B76EC.5000300@openfortress.nl> <5E2D64F3.1050807@openfortress.nl> <ee6987a1-e6a3-cc67-bb17-97cf9bf824d1@gmx.de>
In-Reply-To: <ee6987a1-e6a3-cc67-bb17-97cf9bf824d1@gmx.de>
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: MS4wfDPlIlgrqIVfqNNArOD8cyJbnUlDCqt4trG4zxL+LCzzCf2K7vKFPSVktygV3OeLVvp/vqPuQN4EwKsq44CA8ZLzjE+bvG4KUO+QHzIfulRImrvU6lCf GEbyHmRcRx7JZiqrLqnR4nByBXILgjA2kd2r3PQBTqPfEjsoWz1PVykjjbSDNmg0PovSxD5G3GAfPQ==
Received-SPF: pass client-ip=194.109.24.26; envelope-from=rick@openfortress.nl; helo=lb2-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: mimas.w3.org 1ivfxv-0003YO-Fv 7028d5813a6e222f47c77786dd42b412
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Adding user@ to HTTP[S] URIs
Archived-At: <https://www.w3.org/mid/5E2D75E0.5040803@openfortress.nl>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/37289
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 Julian,

> The example indeed helps.

Thanks :)

> What I don't get is how this enables things that weren't
> possible before.

Compatibility with other protocols: You cannot copy/paste your gmail address to your browser to access it as webmail.  You and I may know this /~username habit, but for many out there it is going to be really helpful to use the consistency in patterns.

Consistency across servers: Even though Apache and Nginx all are capable of doing /~username and /@username and /people/username, there is a lot of variation, and that is not helpful with automation.  It would be really nice if I could take any email or XMPP address and try it as a web address without knowing a site's local habits.  Even when the user@domain.name notation gets translated.

Correct use of RFC3986 is another habit that I think deserves some warmth.

> It would be good to understand how this could be
> deployed in practice in an environment where you don't control
> implementations.

When people see this work, they are going to ask for it, I'm pretty sure of that.

> For instance, in your first step where Mary opens
> "https://sales@example.com/docs" - what happens if the UA does not
> implement it? Or in a subsequent step, what happens if the server
> ignores the new header field?

Initially this will be locally useful, as in this example.  I expect it to spread soon, as it is easy and convenient.  I have come across a few people who care for convenience in browser interaction ;-)

-Rick