Re: [webfinger] Is application/json an acceptable content type for JRDs?

Melvin Carvalho <melvincarvalho@gmail.com> Sat, 12 October 2013 22:40 UTC

Return-Path: <melvincarvalho@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 B3AE111E80FB for <webfinger@ietfa.amsl.com>; Sat, 12 Oct 2013 15:40:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.513
X-Spam-Level:
X-Spam-Status: No, score=-2.513 tagged_above=-999 required=5 tests=[AWL=0.086, BAYES_00=-2.599, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QVm8Y23cyrBj for <webfinger@ietfa.amsl.com>; Sat, 12 Oct 2013 15:40:42 -0700 (PDT)
Received: from mail-la0-x236.google.com (mail-la0-x236.google.com [IPv6:2a00:1450:4010:c03::236]) by ietfa.amsl.com (Postfix) with ESMTP id CA97E21F9609 for <webfinger@ietf.org>; Sat, 12 Oct 2013 15:40:41 -0700 (PDT)
Received: by mail-la0-f54.google.com with SMTP id ea20so4584894lab.13 for <webfinger@ietf.org>; Sat, 12 Oct 2013 15:40:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1cCHwXNRmrzhzgAXTGemXK6Nif65lRL4TFMqYOw49yk=; b=d2IstJt+kpYfj/VV2jD2p8Pdx8W/u6OArJo0/o8tGKC/y/GW58IsLV3zgBDVgCsOyi xiVWCQR3AQQWVWAdBGNclff8jpu4zLK5dBnTT54q+DdGHRaTmYXcHV7AXfTH3FkZJ6EP YItY5G6cj/LHga3HC+SjiqkVxuhSRqGo45r4Pn4vBfwWg4dpRBsWGkQanE0ccz5q0kzb Le2BMlcAtD1XQod5llY/MOr/fBeF7Qzz6wXYPG52fUlNarCQNCJ6WXzJiEzdjPVxUvBX UGMnjygRiLJI8Z+JXrC/c16+uDzzyoUvhlmdZOOVvdeq7z2edk7FjlD626CW7cLtzFUI 5wjw==
MIME-Version: 1.0
X-Received: by 10.112.57.49 with SMTP id f17mr23327321lbq.26.1381617640401; Sat, 12 Oct 2013 15:40:40 -0700 (PDT)
Received: by 10.112.159.233 with HTTP; Sat, 12 Oct 2013 15:40:40 -0700 (PDT)
In-Reply-To: <CANBOYLU4q_BFZEAB21AQ-s6HZaDDY4trRY97pkVWoyrYNBfMfA@mail.gmail.com>
References: <CANBOYLU4q_BFZEAB21AQ-s6HZaDDY4trRY97pkVWoyrYNBfMfA@mail.gmail.com>
Date: Sun, 13 Oct 2013 00:40:40 +0200
Message-ID: <CAKaEYhLH=EgD8KuGL7OJOu_NygP+9qX29i+Bcz6dODWv_rMmOg@mail.gmail.com>
From: Melvin Carvalho <melvincarvalho@gmail.com>
To: Eric Mill <eric@konklone.com>
Content-Type: multipart/alternative; boundary=001a1133eacaabf27004e892ecca
Cc: "webfinger@ietf.org" <webfinger@ietf.org>, "webfinger@googlegroups.com" <webfinger@googlegroups.com>
Subject: Re: [webfinger] Is application/json an acceptable content type for JRDs?
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, 12 Oct 2013 22:40:42 -0000

On 13 October 2013 00:28, Eric Mill <eric@konklone.com> wrote:

> I've been reading through the Webfinger spec, and it uses
> application/jrd+json in all the examples, and describes the media type it's
> registering -- but it never says whether or not a server using
> application/json as a content type should fail or not.
>
> I could potentially see some servers wishing to use application/json, so
> that applications that are used for all kinds of JSON manipulation, like
> JSONView, could properly pick up on it.
>

My interpretation is that the server must set Mime Type
application/jrd+json if it's serving JRD, which is the only mandatory
serialization.  Previously there was an XML format (XRD) which is still in
use in some places.


>
> -- Eric
>
> --
> konklone.com | @konklone <https://twitter.com/konklone>
>
> _______________________________________________
> webfinger mailing list
> webfinger@ietf.org
> https://www.ietf.org/mailman/listinfo/webfinger
>
>