[Dancer-users] case insensitive param keys
punk.kish at gmail.com
Wed Oct 6 18:37:13 CEST 2010
On Wed, Oct 6, 2010 at 11:22 AM, Mike Schroeder <mike at donor.com> wrote:
> On Wed, Oct 6, 2010 at 9:07 AM, sawyer x <xsawyerx at gmail.com> wrote:
>> What I'm wondering about are two things:
>> 1. What does the RFC(s) say?
> Certain parts of the URI have to be lowercased, or preserve case
> sensitivity, but in my searching so far, I haven't found anything explicitly
> about the param key names. This quote from the RFC seems to imply it is
> Some schemes define additional subcomponents that consist of
> case-insensitive data, giving an implicit license to normalizers to convert
> this data to a common case (e.g., all lowercase).
>> 2. How are other frameworks handling it?
> Not directly related to params, catalyst is case insensitive by default:
> I believe that webgui.org is case-insensitive
> Ruby on Rails has decided to be case sensitive, but the maintainer has not
> told anyone why he decided that:
> URI should be case sensitive by default. It might be nice to give option to
> make them insenitive though.
> Without spending a lot more time researching, it would seem like the correct
> approach is:
> 1) case sensitive by default
> 2) case insensitive by config
> My two cents.
> Dancer-users mailing list
> Dancer-users at perldancer.org
Puneet Kishor http://www.punkish.org
Carbon Model http://carbonmodel.org
Charter Member, Open Source Geospatial Foundation http://www.osgeo.org
Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor
Nelson Institute, UW-Madison http://www.nelson.wisc.edu
Assertions are politics; backing up assertions with evidence is science
More information about the Dancer-users