Re: [OAUTH-WG] Underscore, dash, green, blue
Marius Scurtescu <mscurtescu@google.com> Thu, 01 July 2010 18:19 UTC
Return-Path: <mscurtescu@google.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 5EE2D3A67B6 for <oauth@core3.amsl.com>; Thu, 1 Jul 2010 11:19:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.536
X-Spam-Level:
X-Spam-Status: No, score=-101.536 tagged_above=-999 required=5 tests=[AWL=0.441, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, USER_IN_WHITELIST=-100]
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 06hA-fUZFkLi for <oauth@core3.amsl.com>; Thu, 1 Jul 2010 11:19:40 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [74.125.121.35]) by core3.amsl.com (Postfix) with ESMTP id 03E253A6880 for <oauth@ietf.org>; Thu, 1 Jul 2010 11:19:39 -0700 (PDT)
Received: from kpbe16.cbf.corp.google.com (kpbe16.cbf.corp.google.com [172.25.105.80]) by smtp-out.google.com with ESMTP id o61IJouu031509 for <oauth@ietf.org>; Thu, 1 Jul 2010 11:19:50 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1278008390; bh=TEONDI2xYpELF6IeigZC39XW/Ho=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type:Content-Transfer-Encoding; b=JLymxzDLHnvxkebZdLNVd91wgwIZAUxWdGWDDA5b+i0MNS+diBgNKmSJ1QynZiGnU eid5wBoUxppisNgMsPg6A==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:from:date:message-id: subject:to:cc:content-type:content-transfer-encoding:x-system-of-record; b=vc09bsD56dmdZjSA3Hl1nWgokoqdymbEf0Yvr8BQkj35w+3adVkmfpCPT+5YlPi1m E0SkEyfc4XGQgKoXhJY8A==
Received: from gwj20 (gwj20.prod.google.com [10.200.10.20]) by kpbe16.cbf.corp.google.com with ESMTP id o61IJmI9021883 for <oauth@ietf.org>; Thu, 1 Jul 2010 11:19:49 -0700
Received: by gwj20 with SMTP id 20so1327134gwj.4 for <oauth@ietf.org>; Thu, 01 Jul 2010 11:19:48 -0700 (PDT)
Received: by 10.100.163.13 with SMTP id l13mr13356063ane.267.1278008388240; Thu, 01 Jul 2010 11:19:48 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.101.132.22 with HTTP; Thu, 1 Jul 2010 11:19:28 -0700 (PDT)
In-Reply-To: <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> <90C41DD21FB7C64BB94121FBBC2E72343B3ED4C456@P3PW5EX1MB01.EX1.SECURESERVER.NET>
From: Marius Scurtescu <mscurtescu@google.com>
Date: Thu, 01 Jul 2010 11:19:28 -0700
Message-ID: <AANLkTin9QErvcF04KFL0UgBKD7C8Sk-cMDbNdL4ALvlH@mail.gmail.com>
To: Eran Hammer-Lahav <eran@hueniverse.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
X-System-Of-Record: true
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:19:41 -0000
3 - all underscores. If underscores are a big issue with headers then we should consider 1 - all dashes. The problem with all dashes is that it is counterintuitive for people that know OAuth 1. Marius On Thu, Jul 1, 2010 at 11:01 AM, Eran Hammer-Lahav <eran@hueniverse.com> wrote: > > >> -----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 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