[Dancer-users] case insensitive param keys
damien krotkine
dkrotkine at gmail.com
Sat Oct 9 23:36:47 CEST 2010
Hello again,
I've implemented the parameters normalization plugin here :
http://github.com/dams/Dancer-Plugin-Params-Normalization
The route filtering isn't implemented yet as it seems difficult for a plugin
to retrieve the path that matched.
I failed at writing proper tests : I don't know how to set the
configuration of a plugin programmatically in a test file (see
02_test_normalization.t )
Any hint appreciated.
Don't hesitate to comment on the features, configuration name, and the code.
dams
On 8 October 2010 16:46, sawyer x <xsawyerx at gmail.com> wrote:
> On Thu, Oct 7, 2010 at 5:20 PM, Flavio Poletti <polettix at gmail.com> wrote:
>
>> This kind of normalisation is discouraged by the standard - I'm referring
>> to http://tools.ietf.org/html/rfc2616#section-3.2.3 - because of the
>> SHOULD:
>>
>
> Thank you, Flavio, for making the definitive research on this.
>
> Good luck with the plugin, Damien.
>
> And thank you Mike for raising this issue, we've all got a better
> understand of this now. :)
>
> Sawyer.
>
> _______________________________________________
> Dancer-users mailing list
> Dancer-users at perldancer.org
> http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.backup-manager.org/pipermail/dancer-users/attachments/20101009/299dd664/attachment.html>
More information about the Dancer-users
mailing list