Re: [apps-discuss] SRV and service discovery, draft-ietf-appsawg-webfinger-04

William Mills <wmills@yahoo-inc.com> Sun, 25 November 2012 17:21 UTC

Return-Path: <william_john_mills@yahoo.com>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 615A721F84F0 for <apps-discuss@ietfa.amsl.com>; Sun, 25 Nov 2012 09:21:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.124
X-Spam-Level:
X-Spam-Status: No, score=-17.124 tagged_above=-999 required=5 tests=[AWL=0.474, BAYES_00=-2.599, HTML_MESSAGE=0.001, USER_IN_DEF_WHITELIST=-15]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QR+c4Kr8Accq for <apps-discuss@ietfa.amsl.com>; Sun, 25 Nov 2012 09:21:11 -0800 (PST)
Received: from nm13-vm2.bullet.mail.ne1.yahoo.com (nm13-vm2.bullet.mail.ne1.yahoo.com [98.138.91.89]) by ietfa.amsl.com (Postfix) with ESMTP id 891CC21F8460 for <apps-discuss@ietf.org>; Sun, 25 Nov 2012 09:21:11 -0800 (PST)
Received: from [98.138.90.54] by nm13.bullet.mail.ne1.yahoo.com with NNFMP; 25 Nov 2012 17:21:01 -0000
Received: from [98.138.89.163] by tm7.bullet.mail.ne1.yahoo.com with NNFMP; 25 Nov 2012 17:21:01 -0000
Received: from [127.0.0.1] by omp1019.mail.ne1.yahoo.com with NNFMP; 25 Nov 2012 17:21:01 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 951041.88252.bm@omp1019.mail.ne1.yahoo.com
Received: (qmail 45486 invoked by uid 60001); 25 Nov 2012 17:21:01 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1353864061; bh=QEM5vOa1lk30bRp1j4YKWywFVldjtQKctMkjeCrpbtk=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-RocketYMMF:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=Sn9aUlkQsZLQ3B2huKDpeZxaROuUbxpjh4BqI1Cee0x0srRs6gmPd42D6cF8JuVo+Z5UVnqLgmAz4WdXxnm7gV4KNJTCY3uvy45vB6dEpE4odSQ04hIQf/j2ycywPtwSEVTWL5+JneCOAbFe+wpPxfDuclHEXD+pdKzZsxGX2CM=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-RocketYMMF:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=aMXmrJjAzSd303wSaZ77Hm9/5ZAkQip/E5mpQ6zNlqlyFMXElxV8gaZtPSXGrtKUIe+jDq0IrUIREZ7PA5UpnTpNBiwYNf/0r2Pp4KRSYEv8XLf5AIQ5Y0+sAv0yjFKnaDRYw6Bq2WH47zNCcoMeXBrf5FhIrhW7pPajeXv+vqQ=;
X-YMail-OSG: omduOOoVM1mNSF.G7HqkVBpcF6WTFc7pQSS39mqhO4VnQ.v t0Vrw__fQF_xT0Zi60hL6qrcuNejuYYAetstbqO_L.hV8nIyrBqUwiJll0Fe nUUZSJZLGnypgJVWkSdk0D3LMWXfgxS3gqKkcfsTZWOA5G6SYuO5ms_.oj4O nJUhFVtK6vyRJ0W7iiAq9_MF4lUd6RJtH.jHr24elz2qz9NgZgsaRq.DrlH0 uc9k9NB3eU4WcQrnZ5M4EUqrV.OvKGLkj1ASWSbirv9wpJVoNhgGNCj68hoK gvxsrWGiTgMEPHbOp.6LF9Z7yd1MeUS9dKZOQVUYTxQcF0FrAFwMbDx.DB8Y jymUXX93pWYxUG4gTC0gjVFbNpKKPzuTCax0HCR0bShgFGhMLmj_vGc70kMg YLXMEB_sPTYLBxpQoa6FK2_9S0uRnCkyTq50vl4DB898ENy21q4kyTqEm7MF UVLI7aG0di9g1IecqMWjHAiFDAw4KxUpAyAkMgjjPCrWti4OeokqRGmNBRer 35jwhqofCpz.8AtH9TVXAs8i5BwVI0Zs-
Received: from [99.31.212.42] by web31802.mail.mud.yahoo.com via HTTP; Sun, 25 Nov 2012 09:21:01 PST
X-Rocket-MIMEInfo: 001.001, VGhlIHdheSB0byBzb2x2ZSB0aGlzIGZvciBKUyBpbiBteSBvcGluaW9uIGlzIHRvIHdyYXAgdGhpcyBpbnRvIHRoZSBYSFRUUCBoYW5kbGVyIGFuZCBoYXZlIHRoYXQgdGhpbmcgdW5kZXJzdGFuZCB3Zjogb3IgYWNjdDogc2NoZWVtcyBhbmQgZG8gdGhlIFNSViBsb29rdXAgaW5zaWRlIHRoYXQgdGhpbmcuwqAgSG93IHRoYXQgd291bGQgd29yayByaWdodCB3aXRoIHNhbWUgb3JpZ2luIGlzIHN0aWxsIGFuIGV4Y2VsbGVudCBxdWVzdGlvbi4KCgoKCgo.X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18BMAEBAQE-
X-RocketYMMF: william_john_mills
X-Mailer: YahooMailWebService/0.8.127.475
References: <464D7FE4-33F2-4039-8B44-AE1BF50E422F@frobbit.se> <20121125163200.407.qmail@joyce.lan>
Message-ID: <1353864061.44981.YahooMailNeo@web31802.mail.mud.yahoo.com>
Date: Sun, 25 Nov 2012 09:21:01 -0800
From: William Mills <wmills@yahoo-inc.com>
To: John Levine <johnl@taugh.com>, "apps-discuss@ietf.org" <apps-discuss@ietf.org>
In-Reply-To: <20121125163200.407.qmail@joyce.lan>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="-1036955950-1998010289-1353864061=:44981"
Subject: Re: [apps-discuss] SRV and service discovery, draft-ietf-appsawg-webfinger-04
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: William Mills <wmills@yahoo-inc.com>
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 25 Nov 2012 17:21:12 -0000

The way to solve this for JS in my opinion is to wrap this into the XHTTP handler and have that thing understand wf: or acct: scheems and do the SRV lookup inside that thing.  How that would work right with same origin is still an excellent question.





>________________________________
> From: John Levine <johnl@taugh.com>
>To: apps-discuss@ietf.org 
>Sent: Sunday, November 25, 2012 8:32 AM
>Subject: Re: [apps-discuss] SRV and service discovery, draft-ietf-appsawg-webfinger-04
> 
>>> not unlike the ones here.)  But if after 16 years, the people who
>>> maintain Javascript are unpersuaded that would be worth tneir time to
>>> add SRV lookups, it's not because they are stupid.
>>
>>Who has to do that persuasion?
>
>People who think doing SRV lookups is a good idea.  You, perhaps.
>
>>I.e. is it not part of an initiative like this, that want some service
>>discovery, to ensure JavaScript is doing The Right Thing?
>
>Presumably, but arguments that end at "add SRV to Javascript" are not
>productive.
>
>It is not clear to me even at what level it would be appropriate to do
>SRV lookups.  One possibility might be new builtin JS functions,
>although I don't understand at this point how that would interact with
>the single origin rule.  
>
>Another possibility is a new URL scheme, along the lines
>of draft-jennings-http-srv, or more generally like this:
>
>  srv[s]://example.com:foo/bar 
>
>does a SRV looksup of 
>
>  _foo._tcp.example.com
>
>and turns the request into
>
>  http[s]://<target>:<port>/bar
>
>(Add hand waving about what to do with the priority and weight if
>there are multiple answers, along the lines of what it already does
>with multiple A or AAAA answers.)
>
>If people think this is a good idea, they sould write it up and try
>implementing it in some of the open source browsers that people use.
>Or else stop kvetching.
>
>R's,
>John
>_______________________________________________
>apps-discuss mailing list
>apps-discuss@ietf.org
>https://www.ietf.org/mailman/listinfo/apps-discuss
>
>
>