[webfinger] Question about device info discovery example.

nov matake <matake@gmail.com> Sat, 22 December 2012 04:39 UTC

Return-Path: <matake@gmail.com>
X-Original-To: webfinger@ietfa.amsl.com
Delivered-To: webfinger@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0B57021E8041 for <webfinger@ietfa.amsl.com>; Fri, 21 Dec 2012 20:39:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.598
X-Spam-Level:
X-Spam-Status: No, score=-3.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 Sqh5wEB6k1Lc for <webfinger@ietfa.amsl.com>; Fri, 21 Dec 2012 20:39:54 -0800 (PST)
Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by ietfa.amsl.com (Postfix) with ESMTP id 21A7E21E8040 for <webfinger@ietf.org>; Fri, 21 Dec 2012 20:39:54 -0800 (PST)
Received: by mail-pa0-f49.google.com with SMTP id bi1so3192562pad.8 for <webfinger@ietf.org>; Fri, 21 Dec 2012 20:39:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:content-type:subject:message-id:date:to :mime-version:x-mailer; bh=iZrcp9UNPp+nSbUci+/JPBe2RCFrzPyYYmO4N3TF3K4=; b=yzXzzSowpntlS+2C87rSo1tL7vlRS8/ho80FSV3mh6SDJJfu5AqXt7a/rQ8OuxOaSW 1DvfvmojXsshpSS3ySq+2lS49EOeYaH9/jtM6SGVzepG/JFQrHFGS1Ro+di6KwGsRNDF 04qQzy93+rwnZcWPKaSec7amkBX+feVVSXeRIBIIwuUAj+dO3m4ylbYC7rbwlYP/ttl1 PIMCxCLoQXqV8H97jaEBill2Srg1ZnUfIUw8Mvd1CD+3lgA5JqckZlIZKgcjnqUF3CbM mT+MtQU4DuumMt9HHB1s/bVs/h9UbNWKPQ4Hc9xvZMIV/dgStd70c6G+QdEEmBFVaZSU 3piA==
X-Received: by 10.68.227.97 with SMTP id rz1mr45739920pbc.54.1356151193889; Fri, 21 Dec 2012 20:39:53 -0800 (PST)
Received: from [192.168.1.6] (z195031.dynamic.ppp.asahi-net.or.jp. [110.4.195.31]) by mx.google.com with ESMTPS id ue7sm8136466pbc.53.2012.12.21.20.39.50 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 21 Dec 2012 20:39:52 -0800 (PST)
From: nov matake <matake@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_C3EE3B2C-30A8-4869-9361-EED5B97FC7F9"
Message-Id: <D6A97D9D-9431-4C0F-9428-397677C179D1@gmail.com>
Date: Sat, 22 Dec 2012 13:39:49 +0900
To: "webfinger@ietf.org" <webfinger@ietf.org>
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
X-Mailer: Apple Mail (2.1499)
Subject: [webfinger] Question about device info discovery example.
X-BeenThere: webfinger@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Discussion of the Webfinger protocol proposal in the Applications Area <webfinger.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/webfinger>, <mailto:webfinger-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/webfinger>
List-Post: <mailto:webfinger@ietf.org>
List-Help: <mailto:webfinger-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/webfinger>, <mailto:webfinger-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 22 Dec 2012 04:39:55 -0000

Hi all,

I'm new to this ML.

I'm writing a ruby webfinger library.
https://rubygems.org/gems/webfinger

After reading usecases in section 3, I have a question.

In the device info discovery example in section 3.4, resource is "device:p1.example.com" but the host of discovery endpoint is "example.com", not "p1.example.com".
Is there any reason why these hosts are different?
How did the client decide the host of the discovery endpoint from resource URI?

Thanks

Nov Matake