And a new version was released. :)

Thank you, Cymon and Russell!


On Thu, May 1, 2014 at 4:25 AM, Russell Jenkins <
[email protected]> 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
> [email protected]
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
>
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

Reply via email to