Re: [OAUTH-WG] Underscore, dash, green, blue
Eran Hammer-Lahav <eran@hueniverse.com> Thu, 01 July 2010 18:01 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 C5EEA3A6845 for <oauth@core3.amsl.com>; Thu, 1 Jul 2010 11:01:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.246
X-Spam-Level:
X-Spam-Status: No, score=-2.246 tagged_above=-999 required=5 tests=[AWL=0.353, 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 7NI4CpvTsvcy for <oauth@core3.amsl.com>; Thu, 1 Jul 2010 11:01:24 -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 2AC893A67F9 for <oauth@ietf.org>; Thu, 1 Jul 2010 11:01:24 -0700 (PDT)
Received: (qmail 22177 invoked from network); 1 Jul 2010 18:01:35 -0000
Received: from unknown (HELO smtp.ex1.secureserver.net) (72.167.180.20) by p3plex1out01.prod.phx3.secureserver.net with SMTP; 1 Jul 2010 18:01:35 -0000
Received: from P3PW5EX1MB01.EX1.SECURESERVER.NET ([10.6.135.20]) by P3PW5EX1HT002.EX1.SECURESERVER.NET ([72.167.180.20]) with mapi; Thu, 1 Jul 2010 11:01:24 -0700
From: Eran Hammer-Lahav <eran@hueniverse.com>
To: Luke Shepard <lshepard@facebook.com>
Date: Thu, 01 Jul 2010 11:01:35 -0700
Thread-Topic: [OAUTH-WG] Underscore, dash, green, blue
Thread-Index: AcsZRuFVBhp/yeeQQx2kwhdt0kQMEAAAGPbA
Message-ID: <90C41DD21FB7C64BB94121FBBC2E72343B3ED4C456@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> <90C41DD21FB7C64BB94121FBBC2E72343B3ED4C3D7@P3PW5EX1MB01.EX1.SECURESERVER.NET> <0B379746-ED5A-4402-A8E6-1CF7D72ECE53@facebook.com>
In-Reply-To: <0B379746-ED5A-4402-A8E6-1CF7D72ECE53@facebook.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 18:01:27 -0000
> -----Original Message----- > From: Luke Shepard [mailto:lshepard@facebook.com] > Sent: Thursday, July 01, 2010 10:58 AM > To: Eran Hammer-Lahav > Cc: Justin Hart; Pelle Braendgaard; OAuth WG (oauth@ietf.org) > Subject: Re: [OAUTH-WG] Underscore, dash, green, blue > > Don't really care, but to pick one - underscores throughout. > > Why not headers? Historically, HTTP headers use dashes and not underscores, but there is nothing to prevent us from using underscores throughout. EHL > On Jul 1, 2010, at 9:23 AM, Eran Hammer-Lahav wrote: > > > 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 > > _______________________________________________ > > OAuth mailing list > > OAuth@ietf.org > > https://www.ietf.org/mailman/listinfo/oauth
- [OAUTH-WG] Underscore, dash, green, blue Eran Hammer-Lahav
- Re: [OAUTH-WG] Underscore, dash, green, blue Michael D Adams
- Re: [OAUTH-WG] Underscore, dash, green, blue Lukas Rosenstock
- Re: [OAUTH-WG] Underscore, dash, green, blue Pelle Braendgaard
- Re: [OAUTH-WG] Underscore, dash, green, blue Justin Hart
- Re: [OAUTH-WG] Underscore, dash, green, blue Eran Hammer-Lahav
- Re: [OAUTH-WG] Underscore, dash, green, blue Eran Hammer-Lahav
- Re: [OAUTH-WG] Underscore, dash, green, blue Luke Shepard
- Re: [OAUTH-WG] Underscore, dash, green, blue Marius Scurtescu
- Re: [OAUTH-WG] Underscore, dash, green, blue Eran Hammer-Lahav
- Re: [OAUTH-WG] Underscore, dash, green, blue Joseph Smarr
- Re: [OAUTH-WG] Underscore, dash, green, blue William Mills