Re: [OAUTH-WG] Underscore, dash, green, blue
Luke Shepard <lshepard@facebook.com> Thu, 01 July 2010 18:07 UTC
Return-Path: <lshepard@facebook.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 923C63A68D8 for <oauth@core3.amsl.com>; Thu, 1 Jul 2010 11:07:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.432
X-Spam-Level:
X-Spam-Status: No, score=-1.432 tagged_above=-999 required=5 tests=[AWL=0.969, BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, HOST_MISMATCH_NET=0.311, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_LOW=-1]
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 8qE-7AnKbtmF for <oauth@core3.amsl.com>; Thu, 1 Jul 2010 11:07:34 -0700 (PDT)
Received: from mx-out.facebook.com (outmail005.ash1.tfbnw.net [69.63.184.105]) by core3.amsl.com (Postfix) with ESMTP id 56DCA3A67B6 for <oauth@ietf.org>; Thu, 1 Jul 2010 11:07:34 -0700 (PDT)
Received: from [10.18.255.121] ([10.18.255.121:33909] helo=mail.thefacebook.com) by mta010.ash1.facebook.com (envelope-from <lshepard@facebook.com>) (ecelerity 2.2.2.45 r(34067)) with ESMTP id 31/83-00970-217DC2C4; Thu, 01 Jul 2010 10:57:38 -0700
Received: from sc-hub05.TheFacebook.com (192.168.18.82) by sc-hub04.TheFacebook.com (192.168.18.212) with Microsoft SMTP Server (TLS) id 14.0.694.1; Thu, 1 Jul 2010 10:57:34 -0700
Received: from SC-MBXC1.TheFacebook.com ([192.168.18.100]) by sc-hub05.TheFacebook.com ([192.168.18.82]) with mapi; Thu, 1 Jul 2010 10:57:33 -0700
From: Luke Shepard <lshepard@facebook.com>
To: Eran Hammer-Lahav <eran@hueniverse.com>
Date: Thu, 01 Jul 2010 10:57:36 -0700
Thread-Topic: [OAUTH-WG] Underscore, dash, green, blue
Thread-Index: AcsZRuFVBhp/yeeQQx2kwhdt0kQMEA==
Message-ID: <0B379746-ED5A-4402-A8E6-1CF7D72ECE53@facebook.com>
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>
In-Reply-To: <90C41DD21FB7C64BB94121FBBC2E72343B3ED4C3D7@P3PW5EX1MB01.EX1.SECURESERVER.NET>
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:07:35 -0000
Don't really care, but to pick one - underscores throughout. Why not headers? 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