We don't bite newbies here... much | |
PerlMonks |
Re^2: Write a Filehandle w/Dancer2by Anonymous Monk |
on Aug 14, 2014 at 01:16 UTC ( [id://1097369]=note: print w/replies, xml ) | Need Help?? |
Hi, I just saw that to in Dancer2::Core::App There's also nowhere in the code that actually handles the callback. Sure there is, send_file creates a Dancer2::Handler::File , which does that Regarding streaming the https://metacpan.org/pod/Dancer2::Manual#send_file says Send file supports streaming possibility using PSGI streaming. The server should support it but normal streaming is supported on most, if not all. So , give it real pathname (not a scalar reference), and try override
In Section
Seekers of Perl Wisdom
|
|