Re: [OAUTH-WG] Underscore, dash, green, blue

Eran Hammer-Lahav <eran@hueniverse.com> Thu, 01 July 2010 16:23 UTC

Return-Path: <eran@hueniverse.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 BA0803A684A for <oauth@core3.amsl.com>; Thu, 1 Jul 2010 09:23:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.236
X-Spam-Level:
X-Spam-Status: No, score=-2.236 tagged_above=-999 required=5 tests=[AWL=0.363, BAYES_00=-2.599]
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 mxpGIq2YRoyK for <oauth@core3.amsl.com>; Thu, 1 Jul 2010 09:23:11 -0700 (PDT)
Received: from p3plex1out01.prod.phx3.secureserver.net (p3plex1out01.prod.phx3.secureserver.net [72.167.180.17]) by core3.amsl.com (Postfix) with SMTP id 63FF83A659A for <oauth@ietf.org>; Thu, 1 Jul 2010 09:23:11 -0700 (PDT)
Received: (qmail 14709 invoked from network); 1 Jul 2010 16:23:22 -0000
Received: from unknown (HELO smtp.ex1.secureserver.net) (72.167.180.19) by p3plex1out01.prod.phx3.secureserver.net with SMTP; 1 Jul 2010 16:23:21 -0000
Received: from P3PW5EX1MB01.EX1.SECURESERVER.NET ([10.6.135.20]) by P3PW5EX1HT001.EX1.SECURESERVER.NET ([72.167.180.19]) with mapi; Thu, 1 Jul 2010 09:23:18 -0700
From: Eran Hammer-Lahav <eran@hueniverse.com>
To: Justin Hart <jhart@photobucket.com>, Pelle Braendgaard <pelle@stakeventures.com>
Date: Thu, 01 Jul 2010 09:23:30 -0700
Thread-Topic: [OAUTH-WG] Underscore, dash, green, blue
Thread-Index: AcsZJxGoS8lpmFf0RLWq5U1XoknbjgAEhwTQ
Message-ID: <90C41DD21FB7C64BB94121FBBC2E72343B3ED4C3D7@P3PW5EX1MB01.EX1.SECURESERVER.NET>
References: <90C41DD21FB7C64BB94121FBBC2E72343B3ED4C2E7@P3PW5EX1MB01.EX1.SECURESERVER.NET> <AANLkTilj97ppfsqp6ZzxLJhURLhnmSx9P39-A97OuGAw@mail.gmail.com> <AANLkTikxdunsjF6u2dKyRZhK0DVKDV6VxF8ucg7L4PsU@mail.gmail.com> <0E0C7232-0C39-4D2A-9918-FCD68F27E789@photobucket.com>
In-Reply-To: <0E0C7232-0C39-4D2A-9918-FCD68F27E789@photobucket.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "OAuth WG (oauth@ietf.org)" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Underscore, dash, green, blue
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, 01 Jul 2010 16:23:12 -0000

That's wasn't an option for a reason. Beside offending my esthetic sensibility :-) having the same parameter use a different name between the header and endpoint makes registration of extension parameters much harder. For example, if we used this scheme, the 'error-uri' parameter would require two registration requests, one for 'error-uri' and another for 'error_uri'.

EHL

> -----Original Message-----
> From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On Behalf
> Of Justin Hart
> Sent: Thursday, July 01, 2010 7:10 AM
> To: Pelle Braendgaard
> Cc: OAuth WG (oauth@ietf.org)
> Subject: Re: [OAUTH-WG] Underscore, dash, green, blue
> 
> +1 for underscores except header keys.
> ----
> -- Justin Hart
> -- jhart@photobucket.com
> 
> 
> 
> 
> 
> 
> On Jul 1, 2010, at 7:39 AM, Pelle Braendgaard wrote:
> 
> > I already implemented 09 but it was a (very tiny) bit of a hassle to
> > have to convert underscores.
> >
> > So I also agree with 3 except headers
> >
> > On Thu, Jul 1, 2010 at 2:41 AM, Lukas Rosenstock <lr@lukasrosenstock.net>
> wrote:
> >> 3 except headers.
> >>
> >> 2010/7/1 Eran Hammer-Lahav <eran@hueniverse.com>:
> >>> First, sorry about this. J
> >>>
> >>>
> >>>
> >>> I do my best not to ask the group this kind of questions and just
> >>> pick something on my own, but I can't decide so I'll run a quick
> >>> vote (yes, a VOTE - I can't imagine seeking a consensus call on this).
> >>>
> >>>
> >>>
> >>> -09 uses underscores for parameter names (except for in the headers)
> >>> and dashes for parameter values. This seems like an odd selection.
> >>> Before, it used dashes for header parameter names, and underscore
> >>> everywhere else. Not great either.
> >>>
> >>>
> >>>
> >>> So...
> >>>
> >>>
> >>>
> >>> The changes my OCD can live with:
> >>>
> >>>
> >>>
> >>> 1. Use dashes throughout
> >>>
> >>> 2. Use underscores for all parameter names (headers included),
> >>> dashes for all values
> >>>
> >>> 3. Use underscores throughout
> >>>
> >>>
> >>>
> >>> I want to get this done with in a day because people are writing
> >>> code for
> >>> -09 and I'd like to stop making changes beyond editorial.  I just
> >>> think that having different styles between the endpoint parameters
> >>> and header parameters is broken.
> >>>
> >>>
> >>>
> >>> EHL
> >>>
> >>> _______________________________________________
> >>> OAuth mailing list
> >>> OAuth@ietf.org
> >>> https://www.ietf.org/mailman/listinfo/oauth
> >>>
> >>>
> >>
> >>
> >>
> >> --
> >> http://lukasrosenstock.net/
> >> _______________________________________________
> >> OAuth mailing list
> >> OAuth@ietf.org
> >> https://www.ietf.org/mailman/listinfo/oauth
> >>
> >
> >
> >
> > --
> > http://agree2.com - Reach Agreement!
> > http://stakeventures.com - My blog about startups and agile banking
> > _______________________________________________
> > OAuth mailing list
> > OAuth@ietf.org
> > https://www.ietf.org/mailman/listinfo/oauth
> 
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth