Re: [OAUTH-WG] application/x-www-form-urlencoded vs JSON

Robert Sayre <sayrer@gmail.com> Thu, 29 April 2010 03:44 UTC

Return-Path: <sayrer@gmail.com>
X-Original-To: oauth@core3.amsl.com
Delivered-To: oauth@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7F7CA3A6A5C for <oauth@core3.amsl.com>; Wed, 28 Apr 2010 20:44:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.484
X-Spam-Level:
X-Spam-Status: No, score=-3.484 tagged_above=-999 required=5 tests=[AWL=-0.744, BAYES_20=-0.74, GB_I_LETTER=-2]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NzMHBUu0LDau for <oauth@core3.amsl.com>; Wed, 28 Apr 2010 20:44:35 -0700 (PDT)
Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.221.181]) by core3.amsl.com (Postfix) with ESMTP id A47773A67B3 for <oauth@ietf.org>; Wed, 28 Apr 2010 20:44:35 -0700 (PDT)
Received: by qyk11 with SMTP id 11so19113196qyk.13 for <oauth@ietf.org>; Wed, 28 Apr 2010 20:44:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=6vCuzObaEowW/gcnVTnLaFro1s1lUgkrMQIk9cbmq3A=; b=tVib8Son3XxRxqeLJs6eqxbbmGV/SvXQXdNfvZfmI3MBd8qW8qKGTGGwpImqpEel/1 Xg1lOSARcw0ot0+ZXk+QI/SKGoSqussDqQwqmoxpJNOZmmbN4T7tUvA76C2i84QPDbZT YuGqAONWiCoL9P6iaGY6Sf4giDlmwd0UmYYm0=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=dEMzIpCZ+n53NVo4CrUB4mXhcvRuLatCMvHbf8bRjScM67Yx2qPfI9AIYeTl5YQBzL jCqNYIbVfNuAqIapd0vVVuWGNytKNIeXAPgVG4LNSFCUbNg+53BUw7g0dmD2c2ordVGh 9jmJQnTVjwp18qT7iPRHcIPtuNi+hi9SzzZGI=
MIME-Version: 1.0
Received: by 10.229.241.82 with SMTP id ld18mr5736295qcb.60.1272512659676; Wed, 28 Apr 2010 20:44:19 -0700 (PDT)
Received: by 10.229.99.142 with HTTP; Wed, 28 Apr 2010 20:44:19 -0700 (PDT)
In-Reply-To: <s2zc334d54e1004281425x5e714eebwcd5a91af593a62ac@mail.gmail.com>
References: <9890332F-E759-4E63-96FE-DB3071194D84@gmail.com> <90C41DD21FB7C64BB94121FBBC2E723438E30A379B@P3PW5EX1MB01.EX1.SECURESERVER.NET> <20100419134825.134951nuzvi35hk4@webmail.df.eu> <90C41DD21FB7C64BB94121FBBC2E723438E5C7F45E@P3PW5EX1MB01.EX1.SECURESERVER.NET> <4BD2A172.2070401@lodderstedt.net> <4BD8869A.2080403@lodderstedt.net> <s2zc334d54e1004281425x5e714eebwcd5a91af593a62ac@mail.gmail.com>
Date: Wed, 28 Apr 2010 23:44:19 -0400
Message-ID: <v2j68fba5c51004282044o3a5f96cfucb1157d3884d8cd2@mail.gmail.com>
From: Robert Sayre <sayrer@gmail.com>
To: jsmarr@stanfordalumni.org
Content-Type: text/plain; charset="ISO-8859-1"
Cc: oauth@ietf.org
Subject: Re: [OAUTH-WG] application/x-www-form-urlencoded vs JSON
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/oauth>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 29 Apr 2010 03:44:36 -0000

On Wed, Apr 28, 2010 at 5:25 PM, Joseph Smarr <jsmarr@gmail.com> wrote:
>
> Any reason that wouldn't work?

Form encoding allows duplicate keys. So, transforming such message
bodies to JSON should be defined.

But, really, I think the group should just pick one and avoid the
hassle. I would pick JSON, since JSON implementations bring reasonable
Unicode conformance.

-- 

Robert Sayre

"I would have written a shorter letter, but I did not have the time."