in reply to Re: Streaming data using dancer
in thread Streaming data using dancer
withmy $writer = $respond->(200, [ 'Content-Disposition' => 'attachment; filename="data.csv"' ] + );
or even justmy $writer = $respond->([200, [ 'Content-Disposition' => 'attachment; filename="data.csv"' ] +] );
still doesn't work (same error).my $writer = $respond->([200, ['Content-Type' => 'text']] );
I wouldn't be suprised to have it be something so simple. Unfortunately, I've only found the one example in the documentation and it's a little sparse (IMO).
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Streaming data using dancer
by Anonymous Monk on Mar 14, 2013 at 21:25 UTC | |
Re^3: Streaming data using dancer
by gsiems (Deacon) on Mar 14, 2013 at 21:26 UTC | |
by Anonymous Monk on May 10, 2013 at 03:18 UTC |