Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dancer2 CPAN distribution.

Report information
The Basics
Id: 107467
Status: new
Priority: 0/
Queue: Dancer2

Owner: Nobody in particular
Requestors: XAN [...]

Bug Information
Severity: Normal
Broken in: 0.162000
Fixed in: (no value)

Subject: delayed() fails when send_file() called within
Download (untitled) / with headers
text/plain 384b
As the subject says, delayed() will fail when send_file() is called within. Dancer2::Core::App will fail like so: Can't call method "env" on an undefined value at /usr/local/share/perl/5.18.2/Dancer2/Core/ line 883. The smallest code to reproduce the failure: get '/foo' => sub { delayed { send_file 'bar.txt'; }; }; Discovered this in Dancer2 0.162000.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to