[dancer-users] Major Dancer 2 release: 0.140000

sawyer x xsawyerx at gmail.com
Thu May 1 09:51:01 BST 2014


And a new version was released. :)

Thank you, Cymon and Russell!


On Thu, May 1, 2014 at 4:25 AM, Russell Jenkins <
russell.jenkins at strategicdata.com.au> wrote:

> On 1/05/2014 6:23 am, Cymon wrote:
>
>> We haven't touched the session code, but this might be fallout from the
>> transition to the new ConfigReader role, which effectively decoupled local
>> configurations from global ones. It caches the objects (exactly as before -
>> in fact, almost everything is literally the same code) so I don't see how
>> this would be a problem. Either way, I'd like to get this resolved ASAP.
>> Probably I found... In Dancer2::Core::Request cookies are generated from
>> cookie header in this foreach foreach my $cookie ( $self->header('COOKIE')
>> ) but $self->header('COOKIE') is just a string, not something useful for
>> iterating... Adding a split seems to do the trick... foreach my $cookie (
>> split " ", $self->header('COOKIE') ) {
>>
>>> In the future, we will be sure to first release a development version.
>>>
>> No problem, i'll be an early adopter in any case :-P
>>
> There was a small change to how requests generate cookie objects to
> improve adding cookie headers when using Dancer2::Test (please use
> Plack::Test instead!).
>
> Looks like this was my fault; misread the HTTP::Headers docs and
> erroneously removed the split that was there previously. Sorry! There is a
> Pr with a fix for this (#580).
>
> Cheers,
>   Russell.
>
>
> _______________________________________________
> dancer-users mailing list
> dancer-users at dancer.pm
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20140501/356a6492/attachment-0001.html>


More information about the dancer-users mailing list